PC Review


Reply
Thread Tools Rate Thread

Add ins for outlook object 11.0

 
 
gbpg
Guest
Posts: n/a
 
      2nd Dec 2007
I have written some code that is referencing outlook i.e. open outlook and I
am getting errors. When I go to load the Outlook object 11.0 I don't see this
there. I don't see this on the microsoft site.

How can a write a sub routine with out this? and load it in automatically
for the users that might use this?

Is the there something like Gord Dibben's
Private Sub Workbook_Open()
AddIns ("Analysis ToolPak").Installed = True
End Sub

that will do this?
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      2nd Dec 2007
Try dimming the Outlook object as Type Object instead of type
Outlook.Application, and instantiate it with say

Set OL = CreateObject("Outlook.Application")

instead of

Set OL = New Outlook.Application

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"gbpg" <(E-Mail Removed)> wrote in message
news:8D8F7186-CDB4-4D23-8463-(E-Mail Removed)...
>I have written some code that is referencing outlook i.e. open outlook and
>I
> am getting errors. When I go to load the Outlook object 11.0 I don't see
> this
> there. I don't see this on the microsoft site.
>
> How can a write a sub routine with out this? and load it in automatically
> for the users that might use this?
>
> Is the there something like Gord Dibben's
> Private Sub Workbook_Open()
> AddIns ("Analysis ToolPak").Installed = True
> End Sub
>
> that will do this?



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Convert MAPI.folder object to Outlook.MAPIFolder object Alex Microsoft Outlook Form Programming 5 12th Jan 2010 03:49 PM
Why does the Address property of the Recipient object in the Outlook object model look funny? Omatase Microsoft Outlook 2 13th Jul 2007 09:09 PM
errror: object reference not set to instance object in outlook =?Utf-8?B?bGViZWF1aA==?= Microsoft Outlook BCM 2 22nd Feb 2006 10:31 AM
object not set to an instance of an object - outlook =?Utf-8?B?c3ByaWNl?= Microsoft Outlook BCM 1 16th Jan 2006 07:33 PM
Disable Outlook 2002 / 2003 Warning when accessing the Outlook object model =?Utf-8?B?TmVhbCBNaWxsZXI=?= Microsoft VB .NET 2 23rd Feb 2004 09:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:50 PM.