C
Charles A. Lackman
Hello,
I am using the following code to open a word docuement:
With WrdApp
..Documents.Open("C:\My Documents\MyDoc.doc", missing, missing, missing,
missing, missing, missing, missing, missing, missing, missing, missing)
..Selection.Paste()
..Visible = True
..Activate()
..NormalTemplate.Saved = True
End With
1) I have noticed that this does work with Word 2002, but it does with all
other versions. Any Ideas?
2) When the user goes to save the document it defaults to MyDoc.doc, is
there a way to change the name (programmatically) that will default to a
different name instead of MyDoc.doc.
Thanks,
Chuck
I am using the following code to open a word docuement:
With WrdApp
..Documents.Open("C:\My Documents\MyDoc.doc", missing, missing, missing,
missing, missing, missing, missing, missing, missing, missing, missing)
..Selection.Paste()
..Visible = True
..Activate()
..NormalTemplate.Saved = True
End With
1) I have noticed that this does work with Word 2002, but it does with all
other versions. Any Ideas?
2) When the user goes to save the document it defaults to MyDoc.doc, is
there a way to change the name (programmatically) that will default to a
different name instead of MyDoc.doc.
Thanks,
Chuck