Workbook name
Many thanks JE McG - just what I wanted
Francis
"JE McGimpsey" wrote in message
...
One way:
Windows(Workbook.Name & ":1").Activate
In article ,
"Francis Hookham" wrote:
I need to activate one or other windows by switching from one to the
other
rather than by name of sheet:
Windows("DoorSchedule.xls:1").Activate
Windows("DoorSchedule.xls:2").Activate
but this does not work if the Workbook is renamed.
Please show me how to write something like:
Windows(Workbook.name + ".xls:1").Activate
Thanks
Francis Hookham
|