Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display all current workbooks in combo box 2

Status
Not open for further replies.

thomsons

Programmer
Dec 16, 2002
19
0
0
GB
Hi,

I'm currently trying to populate a combo box with the names of all the excel files that are currently opened locally on my PC

I'm struggling to find the right code for obtaining the file names currently opened.

Any assistance would be greatly appreciated.

Cheers,
S.
 
for each wb in application.workbooks
if not wb.isaddin then
MyComboBox.additem wb.name
end if
next wb


Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top