Word Document

  • Thread starter Thread starter Charles A. Lackman
  • Start date Start date
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
 
Hello, I got Word 2002 to work. The computer did not have the framework
on it. huh. Anyway, still looking for a way to change the default save as
document name #2 below?

Thanks,

Chuck


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
 
Back
Top