When I use the following code to display all open workbooks, its only displaying one name(the current workbook's name). Anyone know why this happen?
sub showOpenwbs
for each OpenWB in workbooks
msgbox OpenWB.name
next OpenWB
end sub
When I use the following code to display all open workbooks, its only displaying one name(the current workbook's name). Anyone know why this happen?
sub showOpenwbs
for each OpenWB in workbooks
msgbox OpenWB.name
next OpenWB
end sub