Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    Barlow is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2013
    Posts
    10
    OK, thanks for looking out for such. The VBA definitely seems to be working, so thanks again for the suggestion of converting the Macro to VBA.
    Many thanks


    Brian

  2. #17
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    When you get a chance try "acFormatHTML" Post back if it works or not.

    Post #10 in this link has an example of the code I was referring to. This code will allow for formatting in HTML.
    https://www.accessforums.net/access/...mdb-39036.html

  3. #18
    Barlow is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2013
    Posts
    10
    Unfortunately, changing the PDF Format to HTML did not work--it just produced a Compile Error.
    You wouldn't think it would be so hard, would you?!

  4. #19
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    It seems DoCmd.SendObject acReport... does not support acFormatHTML

    I think transferspreadsheet and a few others support acFormatHTML

    I know I send reports in the body of emails via VBA. I use code similar to what I provided in the link above. I think I export the report in MS Word to a temp folder and then place it in the body as .rtf

  5. #20
    Barlow is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2013
    Posts
    10
    Hi all
    Just to let you know that using acFormatTXT worked for me. For whatever reasons, Access didn't like the PDF or HTML format, but TXT has stopped it from crashing.
    Thank you all again for all your help. It was very much appreciated.
    Have a good day.
    Brian

  6. #21
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    Thanks for posting your results!

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 06-24-2013, 07:12 AM
  2. Replies: 12
    Last Post: 05-23-2013, 10:56 AM
  3. Replies: 2
    Last Post: 11-14-2012, 04:47 PM
  4. error "OLE Server isn't registered"
    By newtoAccess in forum Forms
    Replies: 1
    Last Post: 12-26-2010, 10:51 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
  •  
Other Forums: Microsoft Office Forums