Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating VBA in Access for outputting to Mail for Windows 10

Status
Not open for further replies.

InkyRich

Technical User
Aug 2, 2006
126
GB
H,
I have a database that was developed a few years ago which outputted a string to the 'To' box in Outlook email program, which worked fine. I have now upgraded to Mail for Windows 10 and would like to update the code to output to this.

The code I have is:

'Place email address string into 'To' box and open Outlook application
DoCmd.SendObject , "", "", AddressVar, , , " ", "", True, ""

AddressVar is the string.
What code should I have to output to Mail for Windows 10?
Appreciate any help that can be given.

Hampshire UK.

A fool and his money are soon parted - so you might as well send it to me!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top