LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Hiding Macro List - Using Shortcut Key

Other subs in other modules, problem. Other subs in the same module, no
problem.

--
Regards,
Tom Ogilvy

"John Michl" wrote in message
...
Thanks, Tom.

Is it true that if I use the Private statement, this sub cannot be called

by
other subs?

- John

"Tom Ogilvy" wrote in message
...
Private Sub Whatever()

End Sub

--
Regards,
Tom Ogilvy

"John Michl" wrote in message
...
I'm trying to hide the macro list from users but I still want to be

able
to
use a shortcut key on a few macros. For instance, I have a macro with

an
assigned short-cut that "Prepares the Workbook for Development" by

unhiding
and unprotecting all sheets. Hitting the short cut key fires the Sub

to
"Prepare for Development". Hitting the shortcut a second time

"Prepare
For
End-users" by hiding certain sheets and protecting certain sheets.

I don't want to assign this to a button (unless there is no other

way.)

When I use a dummy argument on the Sub name as in
Sub SubName (Optional FakeArg As [type])
hitting the short-cut key pops up the macro list expecting me to pick

the
appropriate macro.

Any ideas?

Thanks - John Michl
www.johnmichl.com








 
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
combo box list shortcut Roy Gudgeon[_2_] Excel Discussion (Misc queries) 3 March 17th 10 05:15 PM
Keyboard Shortcut for Drop Down List B Baggins Excel Worksheet Functions 3 January 21st 08 04:34 AM
Keyboard shortcut for List Box B Baggins Excel Worksheet Functions 1 September 20th 07 12:42 PM
Shortcut key for dropdown list? Brcobrem Excel Discussion (Misc queries) 2 February 1st 07 02:49 PM
Hiding macro Angeliki Excel Programming 2 November 7th 03 01:33 PM


All times are GMT +1. The time now is 12:29 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"