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: 2
Default vba code to send a filename to word without starting a new session

Hello,

I got pretty far with my vba project but got stuck now.

What I have so far:
I have 2 monitors, on the left an excel sheet with filenames and on the right Word running.
When I click on a cell with a filename a Word session is started with the file opened.

The issue:
Each cell click results in a new Word session being started.

What Im looking for:
Vba code to tell a running Word session to display the file selected in question (and not open a new Word session)
The point being is that Word can be sized to best fit the right monitor and stay that way while different files are selected from excel and viewed in Word.

Probably some sort of DDE call needed but cant figure out how. In the near future Id like this to work for powerpoint, IE and pdf-readers as well.
Windows 7 and office 2010.

Maybe there is a generic document viewer which has the option €śallow only one instance€ť which would solve the issue as well.
 
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
Problem with .send from microsoft example for vba send mail from excel code Mark Stephens Excel Programming 3 March 6th 09 03:05 PM
CreateObject("Word.Application") fails though Word session starts [email protected] Excel Programming 16 May 6th 08 02:40 PM
Startup and template locations in Citrix TS session and local session John Nurick Setting up and Configuration of Excel 2 September 21st 06 10:42 PM
Using Excel to start a merge session in Word luthor Excel Programming 0 April 20th 06 09:26 AM
My send to in excel/word does not offer send as attachment Mstink Excel Discussion (Misc queries) 11 March 16th 06 02:49 PM


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