Hello,
A while ago I set up a vba mail merge procedure that either prints, emails or opens the mail merge document.
All seems to work correctly.
I have now been asked to modify it so that it might send out a fax rather than emailing or printing.
In my code, I changed the following lines from
to
When it tried executing the code, I received the following message:
I have also tried changing the destination to printer in hopes that it might convert to a fax but it printed the document instead.
My computer is connected to an all in one printer.
That printer is connected to a phone line and used as a fax machine.
I also have the IP address of this printer.
While reading some information, it appears that the MailAddressFieldName needs to be the fax number being sent to.
I have that configured as well.
How can I send a mail merge document as a fax and/or how can I send a mail merge document to a specific printer to fax from it?
Thanks,
Cory
If at first you don't succeed, then sky diving wasn't meant for you!
A while ago I set up a vba mail merge procedure that either prints, emails or opens the mail merge document.
All seems to work correctly.
I have now been asked to modify it so that it might send out a fax rather than emailing or printing.
In my code, I changed the following lines from
Code:
ActiveDocument.MailMerge.MainDocumentType = wdEmail
ActiveDocument.MailMerge.Destination = wdSendToEmail
Code:
ActiveDocument.MailMerge.MainDocumentType = wdFax
ActiveDocument.MailMerge.Destination = wdSendToFax
When it tried executing the code, I received the following message:
Microsoft Mail Local Fax is not installed on your system.
I have also tried changing the destination to printer in hopes that it might convert to a fax but it printed the document instead.
My computer is connected to an all in one printer.
That printer is connected to a phone line and used as a fax machine.
I also have the IP address of this printer.
While reading some information, it appears that the MailAddressFieldName needs to be the fax number being sent to.
I have that configured as well.
How can I send a mail merge document as a fax and/or how can I send a mail merge document to a specific printer to fax from it?
Thanks,
Cory
If at first you don't succeed, then sky diving wasn't meant for you!