View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Gord Dibben Gord Dibben is offline
external usenet poster
 
Posts: 22,906
Default Disable 2003 VB code for users using older Excel

Typo.......missed a double-quote after Excel

MsgBox "This utility will not work in your version of Excel", vbExclamation


Gord

On Fri, 28 Sep 2007 17:39:19 -0700, Gord Dibben <gorddibbATshawDOTca wrote:

If Application.Version < "10.0" Or Application.Version < "11.0" Then
MsgBox "This utility will not work in your version of Excel, vbExclamation
End
End If