Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I assigned a shortcut key to a macro using "ctrl" and a letter. The
following "sendkeys string:=" does not function properly. If I run the macro without the shortcut key, the macro runs properly. Is there a remedy so that the macro may run using the shortcut key? The macro line is as follows: Sub lop() For count = 1 To 3 SendKeys String:="={left}-4~{down}" Next count End Sub Spreadsheet example: 21 active cell (macro is run from the active cell) 24 33 -- l-hawk |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
sendkeys string | Excel Discussion (Misc queries) | |||
Always Sendkeys... | Excel Programming | |||
SendKeys in VBA | Excel Programming | |||
SendKeys? | Excel Programming | |||
SendKeys | Excel Programming |