Results 1 to 10 of 10

Thread: sending and recieving faxes with vba

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2005
    Posts
    586

    Red face sending and recieving faxes with vba

    Hey,

    does anyone here knows a way to send and maybe even to listen to faxs of any kind including image files etc (and not only ms office documents) through vba /vb?

    thanks!

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2005
    Posts
    586

    Re: sending and recieving faxes with vba

    maybe a link about it?

  3. #3
    Addicted Member
    Join Date
    Nov 2005
    Posts
    185

    Re: sending and recieving faxes with vba

    Anyone know how to do this?

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: sending and recieving faxes with vba

    From Outlook Help:
    About fax services
    With Microsoft Office 2003, faxing is now as easy as sending an e-mail message. From your Office program, you can connect directly to a fax service provider that will send the fax for you. You can use fax services with Microsoft Office Excel 2003, Microsoft Office PowerPoint 2003, Microsoft Office Word 2003, Microsoft Office Outlook 2003, and the Microsoft Office Document Imaging Program (MODI). You must have Outlook and Word installed on your computer to use fax services.

    How fax services work
    When you choose to send a fax from an Office program, Outlook and Word provide you with the interface to send your fax. The document you want to fax is automatically converted to a TIFF image file and attached to an e-mail message. The body of your e-mail message is the area provided for your cover sheet, and the required fields are for the recipient(s) name, fax number, and subject. You can type information in these fields, or you can select a contact from your address book. Country codes in your address book must begin with a plus sign (+); for example, +61/555-1212. It is recommended that you use a cover sheet and complete the To and Subject fields to ensure that your fax reaches the intended recipient.

    Before sending your fax, you can preview it using MODI. Any file type that can be printed to the Microsoft Office Document Image Writer is supported. After you send your fax, you receive an e-mail confirmation from your fax provider indicating whether your fax was delivered successfully.

    Notes:

    You must have Outlook and Word installed to use the fax service, and Outlook must be open to send your fax. If Outlook is not open and you click Send, the fax will be stored in your Outbox and then sent the next time you open Outlook.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2005
    Posts
    586

    Re: sending and recieving faxes with vba

    thank you for the detailed reply. I know how to manully send a fax from office. what I meant was do you know how send a fax from vba?

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: sending and recieving faxes with vba

    Record a macro in Word doing it. See how Word soes it and the convert i, if necessary, to Outlook.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2005
    Posts
    586

    Re: sending and recieving faxes with vba

    after I record a macro in word, how do I see the vba code of it?

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: sending and recieving faxes with vba

    Press Alt+F11 and the VBA IDE will open. then go into the Modules folder and your newly generated code will be in there under the name that you named it.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2005
    Posts
    586

    Re: sending and recieving faxes with vba

    great, but why do I get this when trying to rate you:
    "You must spread some Reputation around before giving it to RobDog888 again."

  10. #10
    Hyperactive Member
    Join Date
    Jun 2004
    Posts
    369

    Re: sending and recieving faxes with vba

    Anyone has an example of sending a fax using the FaxServer object?

    I need from many End-User PC to send faxes via my MS Access application to our Windows Server 2003 which act as a fax server.
    Last edited by dbelley_office; Mar 29th, 2006 at 11:07 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width