ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   add-in detection (https://www.excelbanter.com/excel-programming/315558-add-detection.html)

romes1

add-in detection
 

I want to send a workbook to another person who probably won't have the
Analysis Toolpak or Analysis Toolpak - VBA open but will need these to
be for the book to work. How can I check to see if they have it open
and if not, open it on their computer inside the OnOpen event of my
book?


--
romes1
------------------------------------------------------------------------
romes1's Profile: http://www.excelforum.com/member.php...o&userid=15989
View this thread: http://www.excelforum.com/showthread...hreadid=274572


Bob Phillips[_6_]

add-in detection
 
If AddIns("myAddin").Installed = False Then
Application.AddIns.Add Filename:="C:\myAddin.xla"
End If

you may need to amedn the addin path

--

HTH

RP
(remove nothere from the email address if mailing direct)


"romes1" wrote in message
...

I want to send a workbook to another person who probably won't have the
Analysis Toolpak or Analysis Toolpak - VBA open but will need these to
be for the book to work. How can I check to see if they have it open
and if not, open it on their computer inside the OnOpen event of my
book?


--
romes1
------------------------------------------------------------------------
romes1's Profile:

http://www.excelforum.com/member.php...o&userid=15989
View this thread: http://www.excelforum.com/showthread...hreadid=274572




piadamon

add-in detection
 
Hi romes1,

Try this:

Addins("Analysis Toolpak").Installed = True
Addins("Analysis Toolpak - VBA").Installed = True

inside the Workbook_Open event.


"romes1" wrote:


I want to send a workbook to another person who probably won't have the
Analysis Toolpak or Analysis Toolpak - VBA open but will need these to
be for the book to work. How can I check to see if they have it open
and if not, open it on their computer inside the OnOpen event of my
book?


--
romes1
------------------------------------------------------------------------
romes1's Profile: http://www.excelforum.com/member.php...o&userid=15989
View this thread: http://www.excelforum.com/showthread...hreadid=274572




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com