M
mikelee101
Hello,
I am trying to do something that I'm not sure is possible, but was
hoping someone could show me a way. I have a database on a shared
drive that multiple users access concurrently. The database is not
split. I am trying to allow a "one click" generation of various form
letters that my team needs to fax/mail/email. In searching the forum,
I've found and tried the following possible solutions:
--Reports don't seem to work, as we have images that need to be
output. We don't have Acrobat standard, nor do we have admin rights
to our machines, so installing a pdf writer would be difficult. Our
only real choice of output is rtf (Word), which won't carry the
images.
--I also checked out Albert Kallal's WordMerge utility but, per the
info on his site, multiple users "will trip over each other" if the
database isn't split. I know almost nothing about splitting
databases, but want to maintain continuity in Forms, Reports, Queries,
etc., so it doesn't sound like that's something I want to do either.
So, what I tried is to have Access open a Word Doc and fill in the
information that I want carried over. I have code in Access that will
open the Word Doc. I have code in the Word Doc that will insert the
necessary information in the correct places. What I don't have is a
way to pass the variables between applications. Here is how I'm
opening the Word Doc:
Set WordApp = CreateObject("Word.Application")
WordApp.Visible = True
Set WordDoc = WordApp.Documents.Open("~File path and file name~")
What I'm looking for is some sort of line like this:
WordDoc.Call.ChangeFields(DomNme, ContNme, ExpDte, EmlAddr)
However, none of the syntax that I've tried has worked, and I couldn't
find much in the VBA help files of either Access or Word. Access2000,
Word2003, XPPro SP2.
If anyone has any ideas, or can tell me that I'm chasing shadows and
can therefore stop, I'd really appreciate it.
Thanks to all.
Mike Lee
Coppell, TX, USA
I am trying to do something that I'm not sure is possible, but was
hoping someone could show me a way. I have a database on a shared
drive that multiple users access concurrently. The database is not
split. I am trying to allow a "one click" generation of various form
letters that my team needs to fax/mail/email. In searching the forum,
I've found and tried the following possible solutions:
--Reports don't seem to work, as we have images that need to be
output. We don't have Acrobat standard, nor do we have admin rights
to our machines, so installing a pdf writer would be difficult. Our
only real choice of output is rtf (Word), which won't carry the
images.
--I also checked out Albert Kallal's WordMerge utility but, per the
info on his site, multiple users "will trip over each other" if the
database isn't split. I know almost nothing about splitting
databases, but want to maintain continuity in Forms, Reports, Queries,
etc., so it doesn't sound like that's something I want to do either.
So, what I tried is to have Access open a Word Doc and fill in the
information that I want carried over. I have code in Access that will
open the Word Doc. I have code in the Word Doc that will insert the
necessary information in the correct places. What I don't have is a
way to pass the variables between applications. Here is how I'm
opening the Word Doc:
Set WordApp = CreateObject("Word.Application")
WordApp.Visible = True
Set WordDoc = WordApp.Documents.Open("~File path and file name~")
What I'm looking for is some sort of line like this:
WordDoc.Call.ChangeFields(DomNme, ContNme, ExpDte, EmlAddr)
However, none of the syntax that I've tried has worked, and I couldn't
find much in the VBA help files of either Access or Word. Access2000,
Word2003, XPPro SP2.
If anyone has any ideas, or can tell me that I'm chasing shadows and
can therefore stop, I'd really appreciate it.
Thanks to all.
Mike Lee
Coppell, TX, USA