LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default It doesn't work in Windows XP?

Dear all,

I have the following codes worked prefectly well in Windows 98 and Windows
2000.

with workbooks("Control")
.worksheets("Main").activate
end with

However after I put the excel file onto a Windows XP machine, it does not
work anymore. I need to put extra code on the top of it.

workbooks("Control.xls").activate
with workbooks("Control")
.worksheets("Main").activate
end with

Is this the way how it should be in Windows XP? It would be a nightmare to
me as I would need to make a lot of modification in my program since there
would be quite a lot switching between different workbooks in my program.

Please advise!
Thanks in advance


 
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
how do i work on both workbook when using split windows Natanya Steyn Excel Discussion (Misc queries) 3 October 17th 07 03:32 PM
Windows+Tab in Vista doesn't work Mantvydas New Users to Excel 0 September 28th 07 12:09 AM
why will pandora's box not work on windows xp bill Excel Discussion (Misc queries) 1 December 12th 05 12:52 AM
Is there an Excel viewer that will work with Windows 98? Paul Birkett Excel Discussion (Misc queries) 2 January 10th 05 05:53 PM
Why doesn't this work in Windows NT & MS Office 97 Dave[_32_] Excel Programming 1 October 17th 03 05:46 PM


All times are GMT +1. The time now is 09:51 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"