Home
|
Contact Us
|
FAQ
|
Search & Site Map
|
Link to Us
Sign In
|
Join
|
Other 45 Sites in Network
Home
Discussions
Access
Excel
InfoPath
Outlook
PowerPoint
Publisher
Word
Directory
User Groups
Related Topics
Outlook Express
Internet Explorer
Windows
MS Server Products
More Topics ...
MS Office Forum
/
Excel
/
General Excel Questions
/
May 2008
Tip:
Looking for answers? Try searching our database.
Populating listbox with sheet names
Thread view:
Tree View
List View (postings sorted by date)
Single Message View
Enable EMail Alerts
Start New Thread
Thread rating:
johnb
- 16 May 2008 11:07 GMT
Can I populate a listbox with worksheet names but skip the first sheet
(sheet1)?
Reply to this Message
Dave Peterson
- 16 May 2008 12:33 GMT
Is this a listbox on a userform?
If yes, you could use something like this in the _initialize routine.
Dim iCtr as long
for ictr = 2 to activeworkbook.worksheets.count
me.listbox1.additem activeworkbook.worksheets(ictr).name
next ictr
> Can I populate a listbox with worksheet names but skip the first sheet
> (sheet1)?
Signature
Dave Peterson
Reply to this Message
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage
Start New Thread
Enable EMail Alerts
Rate this Thread
©2008 Advenet LLC
Privacy Policy
-
Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.