SendObject Naming Option?

G

GDub58

I have a SendObject XLS Email attachment that originates
from an Access query called "Email Roster". Within
the "EMAIL" command button code, is there a way to
programmatically alter the XLS file attachment name to Date
() & ".xls" instead?

Thanks
 
M

MacDermott

AFAIK this is not available within SendObject.
SendObject is sort of like its own little wizard; it performs a pre-set
sequence of tasks as one chunk.
You could simulate this action by using OutputTo to create an xls file, then
Name to rename the file, but then you'd probably need to automate Outlook or
Exchange to send it as an attachment...

HTH
- Turtle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top