Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you've set a reference in your workbook to the add-in there is no way to
trap an error if it is not present, as far as I know. But if you're running add-in code in some other way (like using RUN) you could check whether the add-in is open like this first: Function AddinPresent() As Boolean Dim WBName As String On Error GoTo NotPresent WBName = Workbooks("YourAddin.xla").Name AddinPresent = True NotPresent: End Function -- Jim "Trefor" wrote in message ... |I have built a workbook that call subroutines in an add-in (.xla). If the | workbook is run on another PC for the first time I get the above compile | error, because the add-in is missing and my workbook code crashes. Is it | possible to check in a macro that the add-in is present and exit gracefully | (perhaps displaying a message saying the Add-in is missing)? | | -- | Trefor |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Compile error: Can't find project or library | New Users to Excel | |||
Compile error: Can't find project or library | Excel Programming | |||
Compile error: Can't find project or library | Excel Programming | |||
Compile Error, Can'f Find Project or Library | Excel Programming | |||
Compile Error! Can't find project or Library --- Help! | Excel Programming |