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: 1
Default Sharing variables between Excel and Word

Hi,

I have several Excel workbooks inside a workspace.
These are sending data to Word to create a global document.
The first Excel application activated must do the job of creating the
Word object and sending document fragments to the Word object. E.g. :

Set oWordApp = CreateObject("Word.application")
oWordApp.Visible = True
oWordApp.Selection.InsertFile filename:=strInsertDoc, Range:="", ...

But how can the second Excel write to oWordApp, this is only know
within the first Excel workbook. Can one create variables on workspace
level so to be shared on workbook level ?

Please help me, I am stuck !
Best regards,
Bernard

 
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
Sharing Information Between Excel and Word PB01_MSForums Excel Discussion (Misc queries) 1 May 25th 09 04:49 PM
Sharing in Excel soni Excel Discussion (Misc queries) 1 December 20th 07 02:50 PM
Sharing Variables CWillis Excel Discussion (Misc queries) 2 June 6th 06 07:02 PM
Late Binding to Word Variables ben Excel Programming 2 June 28th 05 03:02 PM
passing variables from excel to word Mike NG Excel Programming 8 July 22nd 03 12:08 PM


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