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..
sandeep singh
Oct 08, 2018Copper Contributor
Thanks a lot for sharing this code
Lorenzo Kim wrote:pls see attached file.
hope you can work something out of it.
thanks..
Lorenzo Kim
Oct 08, 2018Bronze Contributor
glad to be of help..