RobBroekhuis
Technical User
Anybody ever run into the Norton Antivirus bloodhound macro-virus protection? My company requires use of NAV, and ever since I added the following little snippet of code:
to my workbook.open sub, NAV goes after my application like a bloodhound, quarantining it and telling me I can't have it back. Is there a way around (or a better way to make a self-installing add-in)?
I'm frustrated!
Rob
Code:
If Not ThisWorkbook.IsAddin Then
If MsgBox("This tool can be saved as an add-in, so that it " & vbCrLf & _
" will be available every time Excel starts up. Would you like to do this?", vbYesNo) = vbYes Then
s = Application.StartupPath
s = Left(s, Len(s) - 13)
ActiveWorkbook.SaveAs s + "addins\RC1 toolbox.xla", xlAddIn
Application.AddIns("RC1 toolbox").Installed = True
End If
End If
I'm frustrated!
Rob