View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ronbo ronbo is offline
external usenet poster
 
Posts: 36
Default Switch Workbooks

I am looking for a statement that will allow me to switch
between open workbooks using a string variable with a
temp name. What I am trying to use, but can not get to
work is;

tmpName2 = Left(ActiveWorkbook.Name, Len
ActiveWorkbook.Name) - 13)

Windows("tmpName2.xls").Activate

Any suggestions would be very much appreciated