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: 44
Default Run program between 2 separate excel sessions

I have a VBA macro that uses two different excel files (workbooks) that are
open in one session of excel.

This works fine if each file is opened within one excel program. ie open
excel and then open both files via file-open within the one excel session.

If I open only one of the files in excel and then open another excel session
by clicking Start-Programs-Microsoft Office-Microsoft Offic Excel and then
use this excel session to open the other file the VBA will not run as it can
only see one of the files (workbooks).

Is there a way for excel to run a VBA between two different excel sessions?
Even if I could have the program use CopyAs to copy the workbook from one
excel session to the other.

Thanks


 
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
In Excel, how do I get the program to open in separate windows, l. Bob B Setting up and Configuration of Excel 3 November 20th 10 07:31 PM
Excel files in separate program windows Jason Dove Excel Discussion (Misc queries) 27 October 24th 08 07:58 PM
Open a separate Excel Program in a new window Duke Excel Discussion (Misc queries) 0 September 28th 06 12:00 PM
Multiple Excel Sessions tjh Excel Programming 2 November 22nd 05 12:17 AM
Open Excel files in separate sessions, not just separate windows? Bob at Dexia Design Excel Discussion (Misc queries) 1 October 18th 05 05:46 PM


All times are GMT +1. The time now is 12:37 PM.

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"