Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default newbie question

Hi
I am would like to set up a listbox that would then activate the
worksheet of interest to the user. My question is that a combobox can
be set up in a worksheet or in a userform. What are the advantages of
setting it up in a userform as opposed to a formatted worksheet (say
in a new window)? Or is this really a matter of preference?

Thanks in advance

Sal
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default newbie question

This is the sort of thing that userforms are designed for. I assume you're
creating a generic utility that would work with any workbook.

By the way, there is something built into Excel to show/select sheets:

Sub ShowSheetList()
On Error Resume Next
Err = 0
'Try to show dialog for 15 sheet workbooks
CommandBars("Workbook Tabs").Controls("More sheets...").Execute
'If an error there are fewer than 16 sheets so show the "short list"
If Err < 0 Then CommandBars("Workbook Tabs").ShowPopup
End Sub

--
Jim Rech
Excel MVP
"cyclingsal" wrote in message
om...
| Hi
| I am would like to set up a listbox that would then activate the
| worksheet of interest to the user. My question is that a combobox can
| be set up in a worksheet or in a userform. What are the advantages of
| setting it up in a userform as opposed to a formatted worksheet (say
| in a new window)? Or is this really a matter of preference?
|
| Thanks in advance
|
| Sal


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
Newbie question wayne New Users to Excel 6 June 27th 08 02:23 PM
Newbie Question... Benjamin M New Users to Excel 6 May 27th 08 04:45 PM
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
newbie question [email protected] Excel Worksheet Functions 5 July 12th 06 01:25 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM


All times are GMT +1. The time now is 05:34 AM.

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"