I want to make a command button to fax a contact

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I am using Outlook 2002 and have the "Fax Mail Transport" working right

I don't know how to make a command button the will run VBA (VBScript???) ... in thi
code i would have a blank email message pop up and put in "[Fax: 321-555-1212]" in
the "To "Field... then i have to do is manually attach a file and hit send button
and it will be faxed out

I have done part of the above except: ( i know how to fax to an email

1. i can't get the command button to run any code at all. I have looked at many differen
discussion group threads on "command button" and can't seem to get any think i
say to work for me

2. given that the "command button" will be on a contact form ... how do a pass in th
Business_Fax number to the "message" that will come up so i can have the code put
in this number in the "To" Field

If Sue Mosher is out there ... what one of your books will best help me. I see you hav
several books listed on this page: http://www.outlookcode.com/d/library.ht

... for that matter what books would any one recommend

Thanks
Bo
 
Take a look at http://www.outlookcode.com/d/forms/contfax.htm. It's a sample
form custom that should come quite close to what you're trying to do.

If no code on your form is running, you may not have published it. See
http://www.outlookcode.com/d/secforms.htm . The correct syntax for a command
button on an Outlook form is:

Sub CommandButton1_Click()
' your code goes here
End Sub

My only programming book currently available is listed in my signature.
 
Back
Top