Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I would like to find out, how I can find which excelform is open? I would like to generate a Combobox with the active excelfiles I know that Windows(thexls).Activate works, but here for I must know what the name 'thexls' can someone help me? thx Lieven |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I found already a work-around, but can't this be done
easier? i = 1 Do While i <= Windows.Count Windows(i).Activate ComboBox1.AddItem (" OPEN XLS SHEET: " & ActiveWorkbook.Name) i = i + 1 Loop -----Original Message----- Hi, I would like to find out, how I can find which excelform is open? I would like to generate a Combobox with the active excelfiles I know that Windows(thexls).Activate works, but here for I must know what the name 'thexls' can someone help me? thx Lieven . |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try
For Each wb In Application.Windows ComboBox1.AddItem (" OPEN XLS SHEET: " & wb.Name) Next wb "Lieven" wrote in message ... I found already a work-around, but can't this be done easier? i = 1 Do While i <= Windows.Count Windows(i).Activate ComboBox1.AddItem (" OPEN XLS SHEET: " & ActiveWorkbook.Name) i = i + 1 Loop -----Original Message----- Hi, I would like to find out, how I can find which excelform is open? I would like to generate a Combobox with the active excelfiles I know that Windows(thexls).Activate works, but here for I must know what the name 'thexls' can someone help me? thx Lieven . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can I keep "Windows of active workbook check box" checked | Excel Discussion (Misc queries) | |||
Find address of active cell | Excel Worksheet Functions | |||
Active windows "overlapping' | Excel Worksheet Functions | |||
excel - Windows close button (x) should only close active workboo. | Setting up and Configuration of Excel | |||
Excel Remains Active in Windows Task Manager | Excel Programming |