Bryan Carbonnell
carbonnb at gmail.com
Thu May 10 06:52:22 CDT 2007
On 5/9/07, Susan Harkins <ssharkins at setel.com> wrote:
> Found my error...
>
> Set doc = appWord.Documents("CustomerSlip.doc")
> Set doc = appWord.Documents.Open("C:\WordForms\CustomerSlip.doc", , True)
>
> I thought it was an either/or, but apparently it isn't -- you have to set
> the document name AND include the document's name in the Open method.
It is an either/or.
The first method is getting a reference to an already open document.
The second method is getting a reference to a document that you are opening.
What version of Word/Access are you using?
--
Bryan Carbonnell - carbonnb at gmail.com
Life's journey is not to arrive at the grave safely in a well
preserved body, but rather to skid in sideways, totally worn out,
shouting "What a great ride!"