Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Workbook activation issue

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

--

HTH

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


"Petr" wrote in message
om...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
shared workbook issue Brendan Quirk Excel Worksheet Functions 0 December 11th 09 06:11 PM
Shared Workbook issue... NWO Excel Discussion (Misc queries) 3 August 30th 06 10:24 PM
Shared workbook issue??? JohnnyJomp Excel Worksheet Functions 6 April 8th 06 04:40 AM
workbook issue DENISE Excel Programming 1 January 17th 04 05:27 PM
Detecting workbook activation Jack Wolf Excel Programming 0 July 26th 03 01:10 AM


All times are GMT +1. The time now is 10:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"