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: 35,218
Default Populate sheet names in a listbox

Is this for workbooks that are already open or for workbooks that are closed?

If they're already open, you could loop through each of the workbooks.

Myrna Larson and Bill Manville's compare program does this:
http://www.cpearson.com/excel/whatsnew.htm
look for compare.xla

If it's for processing closed workbooks, I'd have to loop through all the
workbooks in the folder (and subfolder???) and then open each--then loop through
the worksheets in each workbook, then close the workbook.

vicky wrote:

when i pick a workbook from a file dialog box (auomatically) i need
to display all the sheets(name) present in that workbook in a listbox
from which i have to select and do some operations .... hope this is
possible in vba ....


--

Dave Peterson
 
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
Populate an array with sheet names? Steve Excel Programming 1 January 30th 07 08:14 PM
Populate Excel Userform with Sheet names PC[_3_] Excel Programming 2 February 16th 05 02:15 PM
populate combobox with sheet names David Goodall Excel Programming 3 September 12th 04 12:37 PM
populate combobox with sheet names David Goodall Excel Programming 0 September 12th 04 08:55 AM
Populate cell values with sheet names Oli Oshiz Excel Programming 0 August 13th 04 06:24 PM


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