K
Kev
My apologies if this is an obvious question, but it's late at night and
my brain is descending into numbness.
I have a word 2003 macro coded into the ThisDocument module of the
template
so that it auto executes on opening the document.
Part of this macro defines a variable called docname which equals the
path name to a pdf file.
I then open up a form (Userform1). I need to put a button on this form
which will open the pdf file listed in the docname variable.
I've read a few post on public variables and tried to implement, but
cant get my head around the explanations.
Can someone please explain how I access the contents of the docname
variable from my form?
Cheers
Kevin
Western Australia
my brain is descending into numbness.
I have a word 2003 macro coded into the ThisDocument module of the
template
so that it auto executes on opening the document.
Part of this macro defines a variable called docname which equals the
path name to a pdf file.
I then open up a form (Userform1). I need to put a button on this form
which will open the pdf file listed in the docname variable.
I've read a few post on public variables and tried to implement, but
cant get my head around the explanations.
Can someone please explain how I access the contents of the docname
variable from my form?
Cheers
Kevin
Western Australia