Excel Cell Check

spinkung

Registered User.
Local time
Today, 13:11
Joined
Dec 4, 2006
Messages
267
Hi All,

can anyone see what wrong with...
Code:
If Not IsNumeric(Left(lSht_invoice.Range(colRef & iRow), 6).Value) And Mid(lSht_invoice.Range(colRef & iRow).Value, 7, 1) <> "/" Then

... i keep getting an : object requires message.


thanks,
spin.
 
doh!!!! got it....


Code:
 If Not IsNumeric(Left(lSht_invoice.Range(colRef & iRow).Value, 6)) And Mid(lSht_invoice.Range(colRef & iRow).Value, 7, 1) <> "/" Then
 

Users who are viewing this thread

Back
Top Bottom