View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Petr Petr is offline
external usenet poster
 
Posts: 7
Default Workbook activation issue

Hallo,
I am problem with workbook activation.

I want to switch to e.g. this workbook
Windows("SEF 1997 RZ Pr.xls").Activate

I want to submit both parameters below via inputbox.

segment = SEF
year = 1997

Here is my sample code which ends with error.

Windows("& segment & " & " " & year & " RZ Pr.xls").Activate

Thanks a lot in advance for any suggestions.

Best regards, Petr Duzbaba