PC Review


Reply
Thread Tools Rate Thread

Addin for Excel 2000/97 (In Visual Basic)

 
 
Jason Sholar
Guest
Posts: n/a
 
      29th Jan 2004
I have written an addin in Visual Basic for use in excel 2000 (which
is on my machine.) I used the new addin connection wizard that is
built into excel. The addin works fine on my system (excel 2000), but
I need to be able to also distribute the addin to users of excel 97.
When I tried to install the addin on one of their systems I could not
get it to work? How do you add the COM objects to excel 97?

Any help would be greatly appreciated.

Thanks,
Jason
 
Reply With Quote
 
 
 
 
Keith Willshaw
Guest
Posts: n/a
 
      29th Jan 2004

"Jason Sholar" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have written an addin in Visual Basic for use in excel 2000 (which
> is on my machine.) I used the new addin connection wizard that is
> built into excel. The addin works fine on my system (excel 2000), but
> I need to be able to also distribute the addin to users of excel 97.
> When I tried to install the addin on one of their systems I could not
> get it to work? How do you add the COM objects to excel 97?
>


You dont, Excel 97 doesnt support COM add-ins

The work around is to write a VBA bootstrap routine that sets
up the modified menus you need and maps them to VBA procedures

If you set a reference to the com addin from the VBA editor these
procedure can call the public methods in the com add-in provided
they are instantiated as global multi-use

Keith


 
Reply With Quote
 
Jan Karel Pieterse
Guest
Posts: n/a
 
      29th Jan 2004
Hi Jason,

> How do you add the COM objects to excel 97?


AFAIK you don't, they were introduced with Office 2000.

Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.com

 
Reply With Quote
 
Chip Pearson
Guest
Posts: n/a
 
      29th Jan 2004
Jason,

COM Addins are not supported in Office 97. They were introduced
in Office 2000.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Jason Sholar" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have written an addin in Visual Basic for use in excel 2000

(which
> is on my machine.) I used the new addin connection wizard that

is
> built into excel. The addin works fine on my system (excel

2000), but
> I need to be able to also distribute the addin to users of

excel 97.
> When I tried to install the addin on one of their systems I

could not
> get it to work? How do you add the COM objects to excel 97?
>
> Any help would be greatly appreciated.
>
> Thanks,
> Jason



 
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
visual basic excel 2000 JoenMar Microsoft Excel Programming 6 20th May 2010 11:44 PM
Excel 2000/Visual Basic -- I need to learn... =?Utf-8?B?Q01JQ29ubmll?= Microsoft Excel Misc 4 10th Jul 2006 07:26 PM
Visual Basic Problem in Excel 2000 =?iso-8859-1?Q?Peter_J=F6nsson?= Microsoft Excel Misc 0 9th Mar 2004 03:31 PM
Outlook COM Addin with Visual Basic Adam Killbey Microsoft Outlook VBA Programming 1 11th Feb 2004 05:09 PM
Outlook COM Addin in Visual Basic =?Utf-8?B?TW91bWl0YQ==?= Microsoft Outlook Program Addins 10 13th Jan 2004 08:30 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:08 AM.