Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default running macro from keystrokes versus from ribbon

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 621
Default running macro from keystrokes versus from ribbon

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default running macro from keystrokes versus from ribbon

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error running macro from Ribbon button [email protected] Excel Programming 1 January 6th 08 11:50 AM
Build a Macro that uses keystrokes King Ki[_2_] Excel Programming 8 September 10th 07 09:06 PM
Recording a Macro that follows Keystrokes freakyquo Excel Discussion (Misc queries) 3 September 6th 07 04:42 PM
Relative Macro Help on Keystrokes Neal Zimm Excel Discussion (Misc queries) 9 December 15th 04 12:31 AM
Toggle Macro with KeyStrokes Cesar Zapata[_2_] Excel Programming 0 November 13th 03 05:07 PM


All times are GMT +1. The time now is 04:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"