Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to check if an Add In is present.
Is there a way to check if a particular Add In has been installed in User's
Excel? I have some xlVeryHidden sheets that should only be made visible if the User has a particular Add In which interfaces with Oracle. Thanks for your insight and assistance. Rick |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to check if an Add In is present.
Rick;
In my view an Add-in is a workbook; a special workbook. So, if you check for that workbook to be open, your problem should be solved. To find VBA code to do this check, do the google. Lot's of examples for it. -- Regards; Mark Rosenkrantz -- Spreadsheet Solutions Uithoorn Netherlands -- E: W: www.spreadsheetsolutions.nl -- "rick" wrote in message ... Is there a way to check if a particular Add In has been installed in User's Excel? I have some xlVeryHidden sheets that should only be made visible if the User has a particular Add In which interfaces with Oracle. Thanks for your insight and assistance. Rick |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to check if an Add In is present.
Rick,
You didn't give the name of your addin so this check if the VBA analysis toolpak is loaded. Substitute your addin name Sub isaddinloaded() On Error Resume Next Set chkaddin = Workbooks("ATPVBAEN.XLA") If Err Then MsgBox "ATPVBAEN.XLA! not loaded" & _ vbLf & vbLf & "Can't continue!", vbCritical + vbOKOnly, _ "Addin not loaded": Exit Sub Err.Clear On Error GoTo 0 End Sub Mike "rick" wrote: Is there a way to check if a particular Add In has been installed in User's Excel? I have some xlVeryHidden sheets that should only be made visible if the User has a particular Add In which interfaces with Oracle. Thanks for your insight and assistance. Rick |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to check if an Add In is present.
Rick,
Try clicking on the marble, then, in the bottom right of the window, you should see excel options button. Click and you will see the Add-In button on the left, click to see what add-ins are in use, available or to manage. hope this helps. babs "rick" wrote: Is there a way to check if a particular Add In has been installed in User's Excel? I have some xlVeryHidden sheets that should only be made visible if the User has a particular Add In which interfaces with Oracle. Thanks for your insight and assistance. Rick |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to check if an Add In is present.
Yes you can do this
If bIsBookOpen_RB("MenuAddin.xlam") = False Then ....... It use this function Function bIsBookOpen_RB(ByRef szBookName As String) As Boolean ' Rob Bovey On Error Resume Next bIsBookOpen_RB = Not (Application.Workbooks(szBookName) Is Nothing) End Function -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Spreadsheet Solutions" wrote in message ... Rick; In my view an Add-in is a workbook; a special workbook. So, if you check for that workbook to be open, your problem should be solved. To find VBA code to do this check, do the google. Lot's of examples for it. -- Regards; Mark Rosenkrantz -- Spreadsheet Solutions Uithoorn Netherlands -- E: W: www.spreadsheetsolutions.nl -- "rick" wrote in message ... Is there a way to check if a particular Add In has been installed in User's Excel? I have some xlVeryHidden sheets that should only be made visible if the User has a particular Add In which interfaces with Oracle. Thanks for your insight and assistance. Rick |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to check if an Add In is present.
Thanks Mike for the programmatic solution...I think people forget that's why
we post here and not simply in .excel ;-) -- Toby Erkson Excel 2003, WinXP "Mike H" wrote in message ... Rick, You didn't give the name of your addin so this check if the VBA analysis toolpak is loaded. Substitute your addin name... |
#7
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to check if an Add In is present.
Hi,
You are correct and here's an alternative way using your method Sub sonic() For Each wb In Application.AddIns If wb.Name = "ATPVBAEN.XLA" Then GoTo Continue Next wb Exit Sub Continue: ' rest of code here End Sub Mike "Spreadsheet Solutions" wrote: Rick; In my view an Add-in is a workbook; a special workbook. So, if you check for that workbook to be open, your problem should be solved. To find VBA code to do this check, do the google. Lot's of examples for it. -- Regards; Mark Rosenkrantz -- Spreadsheet Solutions Uithoorn Netherlands -- E: W: www.spreadsheetsolutions.nl -- "rick" wrote in message ... Is there a way to check if a particular Add In has been installed in User's Excel? I have some xlVeryHidden sheets that should only be made visible if the User has a particular Add In which interfaces with Oracle. Thanks for your insight and assistance. Rick |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Check whether a sheet is present in a workbook | Excel Programming | |||
net present value | Excel Worksheet Functions | |||
Net Present Value | New Users to Excel | |||
Present Value | New Users to Excel | |||
How Do I Check To See Id A Character Is Present In A Cell | Excel Programming |