B
Bob
Thanks for the help but I am having a problem getting it
to work.
I turned on the reference for Outlook and entered the
following commands in an attempt to simply open Outlook:
Dim Olook As Outlook.Application
Set Olook = CreateObject("Outlook.Application")
Olook.Application.Visible = True
When it hits the 3rd line, I get and error: "Object does
not suport this property or command."
I am a novice at Access and suspect that I am overlooking
something. Can you help?
6.0 in Access using the following statement:
retval = Shell("Outlook.exe", 6)
or
retval = Shell("Outlook.exe", vbMinimizedNoFocus)
Outlook opens, but it is maximized and has focus.
Can anyone help me with this?
Thanks.
to work.
I turned on the reference for Outlook and entered the
following commands in an attempt to simply open Outlook:
Dim Olook As Outlook.Application
Set Olook = CreateObject("Outlook.Application")
Olook.Application.Visible = True
When it hits the 3rd line, I get and error: "Object does
not suport this property or command."
I am a novice at Access and suspect that I am overlooking
something. Can you help?
I am using the SHELL command to open Outlook from VB-----Original Message-----
6.0 in Access using the following statement:
retval = Shell("Outlook.exe", 6)
or
retval = Shell("Outlook.exe", vbMinimizedNoFocus)
Outlook opens, but it is maximized and has focus.
Can anyone help me with this?
Thanks.