gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,347
- Office Version
- 365
- Platform
- Windows
I am tyring to determine if the user input the required data into a range before I proceed with some Code.
as a Test I tried
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Range("H6:L16").Value > 0.001 Then
Range("a1").Value = 1
Else
End If
End Sub
But it didnt like the range being more than one cell. If I changed it to ("H6") it works, so it must be the range that bugs out.
Is there a way to look at an entire range to verify data (numbers) where entered?
as a Test I tried
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Range("H6:L16").Value > 0.001 Then
Range("a1").Value = 1
Else
End If
End Sub
But it didnt like the range being more than one cell. If I changed it to ("H6") it works, so it must be the range that bugs out.
Is there a way to look at an entire range to verify data (numbers) where entered?