Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have a macro which is intended to open a userform and populate a drop down box. I have assigned CTRL L as the keystrokes to run this. If I run the macro using the keystrokes, the userform does not get populated. If I run the same macro from the ribbon, the macro works fine. What might be causing this? thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ctrl + lower case ell is shortcut for create list.
Try Ctrl + Shift + ell Gord Dibben MS Excel MVP On Thu, 9 Dec 2010 10:44:49 -0800 (PST), Andrew wrote: Hello, I have a macro which is intended to open a userform and populate a drop down box. I have assigned CTRL L as the keystrokes to run this. If I run the macro using the keystrokes, the userform does not get populated. If I run the same macro from the ribbon, the macro works fine. What might be causing this? thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Dec 9, 3:23*pm, Gord Dibben wrote:
Ctrl + lower case ell is shortcut for create list. Try Ctrl + Shift + ell Gord Dibben * * MS Excel MVP On Thu, 9 Dec 2010 10:44:49 -0800 (PST), Andrew wrote: Hello, I have a macro which is intended to open a userform and populate a drop down box. *I have assigned CTRL L as the keystrokes to run this. If I run the macro using the keystrokes, the userform does not get populated. *If I run the same macro from the ribbon, the macro works fine. *What might be causing this? thanks Here's what happened. I had copied the workbook and saved it as another file. Both files were open at the same time, and both files had the same macros in them. When I called the macro using CTRL + L, Excel called the macro from the other open workbook, not the one I was working with. The userform came up as expected but it was the userform from the other workbook. Once I closed the other workbook, the program worked fine. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
error running macro from Ribbon button | Excel Programming | |||
Build a Macro that uses keystrokes | Excel Programming | |||
Recording a Macro that follows Keystrokes | Excel Discussion (Misc queries) | |||
Relative Macro Help on Keystrokes | Excel Discussion (Misc queries) | |||
Toggle Macro with KeyStrokes | Excel Programming |