Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I am looking to create a combobox that has a list of every currently open workbook in excel. what property would I need to pull to do this? Would I need to use an array? Thanks, Jason -- JasonSelf ------------------------------------------------------------------------ JasonSelf's Profile: http://www.excelforum.com/member.php...fo&userid=5330 View this thread: http://www.excelforum.com/showthread...hreadid=467950 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can loop through the selection and add them to the combobox
Dim wb As Workbook For Each wb In Application.Workbooks MsgBox wb.Name Next wb -- Regards Ron de Bruin http://www.rondebruin.nl "JasonSelf" wrote in message ... I am looking to create a combobox that has a list of every currently open workbook in excel. what property would I need to pull to do this? Would I need to use an array? Thanks, Jason -- JasonSelf ------------------------------------------------------------------------ JasonSelf's Profile: http://www.excelforum.com/member.php...fo&userid=5330 View this thread: http://www.excelforum.com/showthread...hreadid=467950 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
something like this
or maybe for each window in windows try recording a macro and just select different workbooks and see what the code turns up then use it as below dim wb as workbook for each wb in workbooks combobox.item.add wb.name next "JasonSelf" wrote: I am looking to create a combobox that has a list of every currently open workbook in excel. what property would I need to pull to do this? Would I need to use an array? Thanks, Jason -- JasonSelf ------------------------------------------------------------------------ JasonSelf's Profile: http://www.excelforum.com/member.php...fo&userid=5330 View this thread: http://www.excelforum.com/showthread...hreadid=467950 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Userform, ComboBox, and Workbooks... Oh my!? | Excel Discussion (Misc queries) | |||
Excel 2003 Workbooks.Open with CorruptLoad=xlRepairFile fails on Excel 5.0/95 file due to Chart, with Error 1004 Method 'Open' of object 'Workbooks' failed | Excel Programming | |||
Dialog Box List of Current Open Workbooks | Excel Programming | |||
Getting list of open workbooks | Excel Programming | |||
List Open Workbooks in VBA | Excel Programming |