Hi,
I am trying to get MS Outlook 2010 to launch when I execute some VBA in MS Access 2003. I am trying to keep this simple since I am just getting started on this project and like to go step by step. I expected this to go relatively smoothly but Outlook 2010 doesn't seem to launch properly.
When I execute the following:
The outlook icon appears on the bottom right in the system tray but outlook doesn't launch. The outlook process (as seen in task manager) launches but then closses shortly there after.
I have tried different variations of 'olLook.Applica tion.Visible = True' to see if that was the issue and that returns an error. I tried using some code from various websites that would create a new email but those didn't work as well. I'm thinking that something changed in Outlook 2010 and the code I can find online is only applicable to earlier versions.
Any suggestions would be much appreciated as the advice I have gotten on this forum before was most helpful.
I have also tried:
Thanks,
Rugbykorn
I am trying to get MS Outlook 2010 to launch when I execute some VBA in MS Access 2003. I am trying to keep this simple since I am just getting started on this project and like to go step by step. I expected this to go relatively smoothly but Outlook 2010 doesn't seem to launch properly.
When I execute the following:
Code:
Private Sub Test_Click() Dim Olook As Outlook.Application Set oLook = CreateObject("Outlook.Application") End Sub
I have tried different variations of 'olLook.Applica tion.Visible = True' to see if that was the issue and that returns an error. I tried using some code from various websites that would create a new email but those didn't work as well. I'm thinking that something changed in Outlook 2010 and the code I can find online is only applicable to earlier versions.
Any suggestions would be much appreciated as the advice I have gotten on this forum before was most helpful.
I have also tried:
Code:
Private Sub Test_Click() Dim Olook As Object Set oLook = CreateObject("Outlook.Application") End Sub
Thanks,
Rugbykorn
Comment