Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Switch Workbbooks


I am trying to get vba to switch between three workbooks that show a
three different instances on the Windows Taskbar. I would normally us
Workbooks("test.xls").select but this throws up a subscript error a
the workbook in question is not in the same excel instant. Can anyon
point me in the right direction

--
SeanEvan
-----------------------------------------------------------------------
SeanEvans's Profile: http://www.excelforum.com/member.php...fo&userid=1465
View this thread: http://www.excelforum.com/showthread.php?threadid=27563

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Switch Workbbooks

Try using code to create the other instances of excel and
declare them -----Apexcel...Apexcel1...Apexcel2 then use
the Apexcel.application.activate line to swith to the
appropriate instance.


-----Original Message-----

I am trying to get vba to switch between three workbooks

that show as
three different instances on the Windows Taskbar. I would

normally use
Workbooks("test.xls").select but this throws up a

subscript error as
the workbook in question is not in the same excel

instant. Can anyone
point me in the right direction ?


--
SeanEvans
----------------------------------------------------------

--------------
SeanEvans's Profile: http://www.excelforum.com/member.php?

action=getinfo&userid=14650
View this thread:

http://www.excelforum.com/showthread...hreadid=275635

.

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
Switch for no spreadsheet JHL Excel Discussion (Misc queries) 3 June 3rd 06 01:07 AM
Can You Switch Rows Jay Excel Discussion (Misc queries) 2 December 3rd 05 06:52 PM
Can You Switch Rows Ken Wright Excel Discussion (Misc queries) 2 December 3rd 05 02:10 PM
getting excel to switch to a new row caldolegare Excel Worksheet Functions 1 August 30th 05 10:44 AM
Switch images in VBA AnQi Excel Programming 1 December 20th 03 06:40 PM


All times are GMT +1. The time now is 04:25 PM.

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

About Us

"It's about Microsoft Excel"