Results 1 to 4 of 4
  1. #1
    Kristeen Boyd is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    4

    Sending datasheet to email loses formatting

    I have tried every way possible to get my database sheet to email. I have tried send to email, copying and pasting, and copy and pasting to Excell and then to email. I ALWAYS lose the formatting. Can anyone help?

  2. #2
    help_me_with_access is offline help_me_with_excel
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    262
    what's the email client that you're using? outlook? web-based? I don't think all email clients do this. most keep the meta-data associated with the table.

    if all else fails though, you could send a literal HTML email through your email client, if you can do it viia coding. like outlook, you always have the option of producing literal HTML in code, which of course should be fine when sending table data inside <table> tags.

    as a matter of fact, web design software might actually be helpful too. I have dreamweaver cs3, which is too old by now, but if you copy a dataset from another program to the clipboard in windows then copy it into dreamweaver, the code automatically inserts all the HTML tags necessary (like <table>, <tr>, <td>) to display the dataset as it was copied, in a webpage. so if you had DW as the medium program, you could simply follow this pattern if you had outlook....

    excel => dreamweaver => outlook vba => send.

    just trying to give you some ideas that might spark another solution.

  3. #3
    Kristeen Boyd is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    4
    I am using Outlook. I didn't understand your second paragraph. What is a literal HTML? Is dreamweaver still available or is there something like it available? Thanks for the help.

  4. #4
    help_me_with_access is offline help_me_with_excel
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    262
    do you have any web page development software? there are some cheapos out there, and probably even freeware. like WYSIWYG. "what you see is what you get". that's what it stands for. Dreamweaver is available from Adobe, but all of Adobe's non-OS (open source) products are unreasonably too expensive. They're all in the high hundreds of dollars because they're incredibly sophisticated.

    literal HTML just simply means taking the actual HTML from any given webpage (or other source) and literally putting in a string variable in vba and sending that out via outlook using a mail object. I think the actual DLL object name for an outlook piece of mail in visual basic is "mailitem". I *think*.

    here is your table coming from? what program?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. sending email through Access
    By crowegreg in forum Import/Export Data
    Replies: 4
    Last Post: 04-15-2012, 03:49 PM
  2. Access sending email attachments
    By wee irish in forum Access
    Replies: 1
    Last Post: 03-06-2012, 06:11 PM
  3. Sending Email via Novell Groupwise
    By jgelpi16 in forum Programming
    Replies: 0
    Last Post: 11-04-2010, 07:24 AM
  4. Email sending
    By Steven.Allman in forum Access
    Replies: 25
    Last Post: 06-21-2010, 09:37 AM
  5. Sending email
    By nashr1928 in forum Reports
    Replies: 8
    Last Post: 04-27-2010, 11:14 PM

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