How does one load and unload an Excel COM AddIn via code such as VBA, as we do not wish to have the COM addin loading on startup of every Excel application?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
How does one load/unload a COM AddIn via code (Excel 2000/Excel 2002)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » How does one load/unload a COM AddIn via code (Excel 2000/Excel 2002)
- This topic has 7 replies, 5 voices, and was last updated 22 years, 5 months ago.
AuthorTopicWSJim Bassett
AskWoody LoungerDecember 13, 2002 at 2:14 pm #380685Viewing 1 reply threadAuthorReplies-
WSWassim
AskWoody LoungerDecember 18, 2002 at 7:02 pm #639619Jim
Wow this question has gone on for so long unanswered, that means people here did not see it, or don’t know the real answer YET!!!
But I found this MSDN article for you, check it out and let me know if it helps.
Check the section on Choosing Development Tools where it says:
<<>>
The Load behavior settings include Load on Demand and Load at Next Startup Only, so maybe this is the area you want to look into.
HTH
Wassim
-
WSJim Bassett
AskWoody LoungerDecember 19, 2002 at 1:23 pm #639824Thanks! Yea I know about the MSN article and the Designer interface where you select how the COM Addin is loaded but that is as far as the dicussion goes as there is no example of how to load in on demand other than via a toolbar or menu item. Even then responding to the toolbar or menu load event there is no explanation of how the COM Addin is loaded via code. The reason we want to load on demand is becuase if a COM AddIn is set to load on startup then that COM AddIn is loaded for every Excel started application, even for applications where one would not desire that COM AddIn to be loaded.
-
WSJim Cone
AskWoody LoungerDecember 19, 2002 at 5:51 pm #639866Jim,
…
HOWTO: Install an Excel Add-In (XLA or XLL) with Automation
The information in this article applies to:
Microsoft Excel 2000
Microsoft Excel 97 for Windows
Microsoft Visual Basic Professional Edition for Windows 6.0
Microsoft Visual Basic Enterprise Edition for Windows 6.0
Microsoft Excel 2002…http://”%5Dhttp://support.microsoft.com/?kbid=280290″>http:// http://support.microsoft.com/?kbid=280290[/url]
Regards,
Jim Cone
San Francisco, CA -
WSJim Bassett
AskWoody Lounger -
WSSammyB
AskWoody Lounger
-
-
-
WSSammyB
AskWoody LoungerDecember 19, 2002 at 6:32 pm #639909The URL for Q280290, Install an Excel Add-In (XLA or XLL) with Automation, referenced above should be http://support.microsoft.com/default.aspx?…kb;en-us;280290%5B/url%5D. It’s excellent, thanks Wassim and Jim Cone!
-
-
-
WScri
AskWoody LoungerDecember 19, 2002 at 8:50 am #639757
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Small desktops
by
Susan Bradley
37 minutes ago -
Totally disable Bitlocker
by
CWBillow
1 hour, 34 minutes ago -
Totally disable Bitlocker
by
CWBillow
3 hours, 13 minutes ago -
Windows 11 ad from Campaign Manager in Windows 10 (Awaiting moderation)
by
Jim McKenna
6 hours, 43 minutes ago -
Phishers extract Millions from HMRC accounts..
by
Microfix
15 hours, 22 minutes ago -
Windows 10 22H2 Update today (5 June) says up-to-date but last was 2025-04
by
Alan_uk
17 hours, 14 minutes ago -
Thoughts on Malwarebytes Scam Guard for Mobile?
by
opti1
20 hours, 22 minutes ago -
Mystical Desktop
by
CWBillow
20 hours, 36 minutes ago -
Meta and Yandex secretly tracked billions of Android users
by
Alex5723
1 hour, 54 minutes ago -
MS-DEFCON 2: Do you need that update?
by
Susan Bradley
10 hours, 47 minutes ago -
CD/DVD drive is no longer recognized
by
WSCape Sand
1 day, 11 hours ago -
Windows 11 24H2 Default Apps stuck on Edge and Adobe Photoshop
by
MikeBravo
1 day, 14 hours ago -
North Face and Cartier customer data stolen in cyber attacks
by
Alex5723
1 day, 12 hours ago -
What is wrong with simple approach?
by
WSSpoke36
1 day, 5 hours ago -
Microsoft-Backed Builder.ai Set for Bankruptcy After Cash Seized
by
Alex5723
2 days ago -
Location, location, location
by
Susan Bradley
14 hours, 35 minutes ago -
Cannot get a task to run a restore point
by
CWBillow
2 days, 1 hour ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
1 day, 16 hours ago -
June 2025 Office non-Security Updates
by
PKCano
2 days, 12 hours ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
14 hours, 55 minutes ago -
Firefox Red Panda Fun Stuff
by
Lars220
2 days, 12 hours ago -
How start headers and page numbers on page 3?
by
Davidhs
2 days, 22 hours ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
2 days, 1 hour ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
3 days, 7 hours ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
3 days, 7 hours ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
2 days, 21 hours ago -
Firefox 139
by
Charlie
2 days, 13 hours ago -
Who knows what?
by
Will Fastie
1 day, 16 hours ago -
My top ten underappreciated features in Office
by
Peter Deegan
3 days, 8 hours ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
1 day, 1 hour ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.