vb.net - From Access 2016: Programmaticaly set signature and email excel spreadsheet with vbscript -


i want send excel spreadsheet table in access using outlook. want body of email include signature block.

here code have (the code works, creates 2 outlook messages: 1 signature block , 1 has excel spreadsheet attached. need both of these in 1 email).

i running code in macro. macro opens table: tblpoitems, filters based on vendor nbr , runs function below code. in advance help!

private sub getsignature()  dim oapp object, omail object, signature string set oapp = createobject("outlook.application") set omail = oapp.createitem(0)  omail .display end  signature = omail.body  docmd.sendobject acsendtable, "tblpoitems", acformatxlsx, _ "past due purchase orders", "dear supplier partner", true   set omail = nothing set oapp = nothing end sub 


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -