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
Printable View
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
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