Workbook activation issue

  • Thread starter Thread starter Petr
  • Start date Start date
P

Petr

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
 
Windows(segment & " " & year & " RZ Pr.xls").Activate

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top