Forum Discussion
sandeep singh
Oct 05, 2018Copper Contributor
vba -excel -how to check and compare cell value against next cell's value in same column
Private Sub CommandButton1_Click() Dim i As Integer, j As Integer, temp As Integer, rng As Range Set rng = Range("A1").CurrentRegion For i = 1 To rng.Count For j = i + 1 To rng.Count If rng.Ce...
- Oct 08, 2018
pls see attached file.
hope you can work something out of it.
thanks..
Lorenzo Kim
Oct 06, 2018Bronze Contributor
I think this requires a Worksheet_Change sub...
or Data validation