View Single Post
  #1  
Old November 6th 06, 04:24 AM posted to microsoft.public.outlook.program_vba
[email protected]
external usenet poster
 
Posts: 4
Default Automation error with view control

I'm the not sure if I'm posting to the correct group, please advise.

I'm using a Outlook View control on an Access form. I have command
buttons that change the view from Task to Calendar.

I'm using Access 2003 and Outlook 2003.

Private Sub Command42_Click()
With ViewCtl1
.Folder = "Calendar"
End With
End Sub

Private Sub Command43_Click()
With ViewCtl1
.Folder = "Tasks"
End With
End Sub

I can switch back and forth just fine, except when I click on a
calendar appointment to view the details. The next time I click to
switch back to a Task view, I get the following error...

-1456340983 (a9320009) Automation error.

I've tried searching those errors codes without any luck.

Any suggestions would be greatly appreciated!

Thanks,

Bob

Ads