P
Paige
Is there a way to determine if a sub exists? I have code in an add-in that
calls a sub in the active workbook per the example below. How do I determine
if that sub exists in the activeworkbook or not, to avoid an error?
WBName = ActiveWorkbook.Name
Application.Run "'" & WBName & "'!RemoveSN"
calls a sub in the active workbook per the example below. How do I determine
if that sub exists in the activeworkbook or not, to avoid an error?
WBName = ActiveWorkbook.Name
Application.Run "'" & WBName & "'!RemoveSN"