Connecting Tech Pros Worldwide Help | Site Map

Code to export a table via E-Mail

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 08:29 AM
Andy48
Guest
 
Posts: n/a
Default Code to export a table via E-Mail

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, 08:29 AM
Allen Browne
Guest
 
Posts: n/a
Default 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, 08:30 AM
Alan Webb
Guest
 
Posts: n/a
Default 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]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.