|
-
May 27th, 2004, 02:58 AM
#1
Thread Starter
New Member
changing word doc without opening
hi guys,
is there a way of changing a word document (new or previous) without first opening it? Such that it all occurs in the background.
Thanks,
Zaff
-
May 27th, 2004, 04:13 AM
#2
Unless you know the file format exactly - not really.
However if the user (or you) has word installed - you could automate, and open a hidden word application, open the doc, do changes etc, save, close doc, close hidden word...
You'd need either references (but this means your target audience must have the same references installed in their comp) or use GetObject / CreateObject functions and get the Word.Application.
Have a read in the help files and try some code. If it doesn't work right then, post up your code, people will help you then.
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|