Open word doc from the CURRENT directory in Access w/o full path
Posted on 2003-02-24
..without giving the full path name
I need to keep a DB application portable so I do not want to hard code the path name of the word documents that I open from a form.
Is there anyway to make it look for the document in the directory of where ever the the DB is currrently installed?
currently i use this:
Dim WordApp As Word.Application
Dim WordDocument As Word.Document
Set WordApp = CreateObject("Word.Application")
WordApp.Visible = True