send mail with attach in .xls and .snp

  • Thread starter geert.van.ransbeeck
  • Start date
G

geert.van.ransbeeck

Hello

I have generated a fully formatted excel sheet from code in access,
which is saved on my hard drive.
I have allready a procedure which sends the same data in snapshot
format by mail to my contacts.

DoCmd.SendObject acReport, "RPT_RADI1", "SnapshotFormat(*.snp)",
"VBRAR", "VHERO", "", pbsuject3 & " - RADI tot EVVD", strcontents,
True

How can I add the the excel-sheet as a second attachment in the same
mail?
 
G

geert.van.ransbeeck

I 've set Set a reference under Tools/References to Microsoft CDO 1.21

'Sub TestMAPIEmail()
Dim clMAPI As clsMAPI

I've got: compile error: user defined type not defined.

any help?
 

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