Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Select from multiple macros


I have a requisition sheet almost complete for its users. There are
about 25 macros to print, change view, etc.

My problem is that I cannot find an elegant way for the user to select
from the macros. I want to use a combo box, but I cannot
find a way to associate a different macro with each combo box item.

Any suggestions?

Thanks!

Jack


--
aswert1223
------------------------------------------------------------------------
aswert1223's Profile: http://www.excelforum.com/member.php...o&userid=15771
View this thread: http://www.excelforum.com/showthread...hreadid=486971

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Select from multiple macros

use a case statement

Select Case Combobox1.ListIndex
Case 0
mymacro3
Case 1
mymacro2
Case 2
mymacro5
End Select

--
Regards,
Tom Ogilvy

"aswert1223" wrote
in message ...

I have a requisition sheet almost complete for its users. There are
about 25 macros to print, change view, etc.

My problem is that I cannot find an elegant way for the user to select
from the macros. I want to use a combo box, but I cannot
find a way to associate a different macro with each combo box item.

Any suggestions?

Thanks!

Jack


--
aswert1223
------------------------------------------------------------------------
aswert1223's Profile:

http://www.excelforum.com/member.php...o&userid=15771
View this thread: http://www.excelforum.com/showthread...hreadid=486971



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Select from multiple macros

Where are you placing this ComboBox. Is it embedded in one of the
worksheets or is it attatched to a menu?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Select from multiple macros


Mark,

I plan on 2 combo boxes (views & print controls) directly on the
worksheet. They will not appear on the printed pages.


--
aswert1223
------------------------------------------------------------------------
aswert1223's Profile: http://www.excelforum.com/member.php...o&userid=15771
View this thread: http://www.excelforum.com/showthread...hreadid=486971

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
Select multiple values Atencorps Excel Discussion (Misc queries) 4 November 14th 08 02:50 PM
Multiple Select prana1 Excel Discussion (Misc queries) 1 January 10th 08 03:36 PM
select multiple criteria multiple worksheets koneil Excel Worksheet Functions 1 December 12th 07 04:31 PM
how do i select different printer trays using macros Mannis Excel Programming 2 April 6th 05 03:27 PM
List macros for user to select... ali Excel Programming 3 December 29th 03 12:59 PM


All times are GMT +1. The time now is 08:28 AM.

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

About Us

"It's about Microsoft Excel"