Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I'm working on some hypothetical code, but I imagine it will come in handy somewhere down the line. Is it possible to list the names of workbooks and then loop through all the names to perform an action on each?
Let's say I have three workbooks named "Workbook 1", "Workbook 2" and "Workbook 3" Is there a way I can assign each of those names to a variable, or assign them to an array, and then tell excel to loop through each of them and tell me the name of the workbook in a message box? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA loop to create named .csv files for all worksheets and workbooks in a folder | Excel Programming | |||
Loop Until out of named range | Excel Programming | |||
named ranges in a For Loop | Excel Programming | |||
loop through all named ranges | Excel Programming | |||
Excel VBA - loop columns named AA, AB..etc | Excel Programming |