I can not open any of my word documents

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am unable to open any of my saved word documents, keeps coming up with not
available then when I go to close it comes up with normal file already exists.
please help and let me know how to retrieve all my saved documents. Thank you
 
What code do you use to open the word document?

You can try and use this
To open a word document, create reference to Microsoft Word and then

Function Open_WordDoc()

Dim objWord As Word.Application
Dim objDoc As Word.Document
Dim DocPath As String

DocPath = "Path and name of the document"

Set objWord = New Word.Application
Set objDoc = objWord.Documents.Open(DocPath)

objDoc.Activate
objDoc.PrintOut ' To print out
objWord.Visible = True ' To display

End Function
==================================
 
Back
Top