How to start the default email program WITHOUT sending a message

T

Tony Ciconte

There is plenty of VBA code around that allows you send email
messages. Does anyone know where I can see a sample of VBA code or a
technique that only opens the default email program and then waits for
user input? For example, a VBA technique that simulates
double-clicking on an email desktop icon or opening something from a
program group. I am using Access 97 in a runtime environment.

Any and all help is greatly appreciated.

TC
 
N

NeilAnderson

try

Dim stAppName As String

stAppName = "C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE"
Call Shell(stAppName, 1)

neil
 
T

Tony Toews

Docmd.SendObject without arguments should bring up the default email
program. However there are some limitations in using sendobject for
mail. See Tont Toews web site.

FWIW SendObject's twenty limitations
http://www.granite.ab.ca/access/email/sendobject.htm

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 

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