Open a Worddoc

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

Guest

I want to have a button in a form. this button shall open a word document. is this possible, or do I have to paste the document into a form? (im pretty new at this, but i need some help
thank you for all kind of answers
 
In your Button_Click event do something similar:
dim wdapp, doc
set wdapp=createobject("word.application")
set doc=wdapp.documents.open("\\path\to\your\file.doc")
wdapp.visible=true

Chris said:
I want to have a button in a form. this button shall open a word document.
is this possible, or do I have to paste the document into a form? (im pretty
new at this, but i need some help)
 
Back
Top