Global Send Keys Events Excel Shortcut
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-05-16 06:00 PM
Hi All,
I want to use a Excel shortcut to insert a new row at specific points in a spreadsheet, but only when needed, I have figured out a way using Global Send Keys/Events.
But it requires me to send the + key. The only plus button that works when I try the shortcut manually is the += button situated next the the backspace button on the keyboard.
Is this a possibility? if so what syntax do I use to send this key?
Thanks All
Matty
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-05-16 01:16 PM
I suggest you use Insert action in MS Excel VBO object.
If you insist on using send keys, to send a plus sign use {+} or {ADD}.
Check for details here: https://msdn.microsoft.com/en-us/library/system.windows.forms.sendkeys
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-01-17 06:23 PM
Hi Matthew,
How did you manage to send global keys to Excel. I am trying the same but my business object will not attach to an excel file that is currently open. Suggestions welcome.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-11-17 12:14 AM
Hi Matthew,
How did you solve this?
Thanks
