View Single Post
  #2  
Old September 6th 07, 06:46 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Program not working for public account in Outlook.

You are missing a Set statement with that line of code, but I don't imagine
that your problem will be solved that easily!

What exactly do you mean by a "public" account? Also, go ahead and post
your full code.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"joshnya2" wrote:

I created a program that works fine when I am using my own personal
Exchange profile in
Outlook. It creates a series of appointments on my calendar and then
invites people that are pulled from a custom form.

When I switch over to a public account I have full access to and run
the
program I get "Operation aborted (Exception from HRESULT: 0x80004004
(E_ABORT))"

The error is indicating I have an issue with this line of code:

objAppt = objOL.CreateItem(olAppointmentItem)


I have had several people at my office look at this and all are
baffled. Any
clues/ideas/suggestions are very welcome. Thanks!

If requested I will post the entire code.


Ads