J
Jeff Hall
Is this the right way to conditionally compile coed for Word XP?
Note that this code will appear in a function that is called repeatedly.
If Application.Version > 9 Then WordXP = True Else WordXP = False
#Const isXP = WordXP
#If isXP Then
MsgBox "Word XP +"
#Else
MsgBox "Less than XP"
#End If
Note that this code will appear in a function that is called repeatedly.
If Application.Version > 9 Then WordXP = True Else WordXP = False
#Const isXP = WordXP
#If isXP Then
MsgBox "Word XP +"
#Else
MsgBox "Less than XP"
#End If