Specifying the proper Excel version: Warn users who attempt to open the add-in using Excel 97
Sub CheckVersion() If Val(Application.Version) < 9 Then MsgBox "This works only with Excel 2000 or later" End If End Sub