Connecting Tech Pros Worldwide Help | Site Map

Code to export a table via E-Mail

  #1  
Old November 13th, 2005, 09:29 AM
Andy48
Guest
 
Posts: n/a
Hi everyone,

Can anyone point me in the direction of how to export a table, in
excell format automatically via E-Mail?

regards

Andy48

  #2  
Old November 13th, 2005, 09:29 AM
Allen Browne
Guest
 
Posts: n/a

re: Code to export a table via E-Mail


Perhaps something like this:
DoCmd.SendObject acSendTable, "Table1", acFormatXLS, _
"someone@somewhere.com" _
,,,"Here's ya table", "Attached find Table1", True

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Andy48" <Andrew@ajgreen1953.fsnet.co.uk> wrote in message
news:1112010823.902468.314770@g14g2000cwa.googlegr oups.com...[color=blue]
> Hi everyone,
>
> Can anyone point me in the direction of how to export a table, in
> excell format automatically via E-Mail?
>
> regards
>
> Andy48
>[/color]


  #3  
Old November 13th, 2005, 09:30 AM
Alan Webb
Guest
 
Posts: n/a

re: Code to export a table via E-Mail


Andy48,
Docmd.SendObject is one way.

"Andy48" <Andrew@ajgreen1953.fsnet.co.uk> wrote in message
news:1112010823.902468.314770@g14g2000cwa.googlegr oups.com...[color=blue]
> Hi everyone,
>
> Can anyone point me in the direction of how to export a table, in
> excell format automatically via E-Mail?
>
> regards
>
> Andy48
>[/color]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Export the data from Datagrid to PDF file Kondapanaidu answers 1 October 26th, 2006 09:15 AM
Export MS Access table via OBDC using VB rjgst3 answers 2 December 17th, 2005 09:57 PM
How to export a subset of data from a dataset. David Richards answers 2 November 21st, 2005 08:45 PM
Code to export html table (.RenderControl) doesn't like sort headings? Kathy Burke answers 2 November 17th, 2005 11:41 PM
Export table Automation JG via AccessMonster.com answers 1 November 13th, 2005 11:09 AM