Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default List of open workbooks

I need to add to my main workbook a listbox that show or contain the names of
workbooks that user had open in the computer. The purpose of this is allow
the user to select one workbook instead of write the name of it for doing a
performance analysis. How can I do that?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default List of open workbooks

Try something along the lines of

Dim WB As Workbook
For Each WB In Application.Workbooks
Me.ListBox1.AddItem WB.Name ' or WB.FullName
Next WB



"anamarie30" wrote in message
...
I need to add to my main workbook a listbox that show or contain the names
of
workbooks that user had open in the computer. The purpose of this is allow
the user to select one workbook instead of write the name of it for doing
a
performance analysis. How can I do that?


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
List of open workbooks Josh[_12_] Excel Programming 2 October 25th 05 12:36 AM
List Open Workbooks in a combobox JasonSelf[_21_] Excel Programming 2 September 15th 05 07:45 PM
Dialog Box List of Current Open Workbooks Frank & Pam Hayes Excel Programming 2 January 25th 04 02:28 PM
Getting list of open workbooks [email protected] Excel Programming 7 November 26th 03 09:09 PM
List Open Workbooks in VBA Chip Pearson Excel Programming 1 November 17th 03 05:21 PM


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