Forum Discussion
Sue
Dec 05, 2021Copper Contributor
Transferring selected data to a new sheet and checking it is not already transferred
Hi wonderful people! I am selecting lines from a worksheet - these are lines involving donations. I use: With Worksheets("Sheet1").Range("CPData") Set MyEdit = .Find("k", , xlValues, xlWhol...
- Dec 05, 2021
FindNext gets confused if you execute another Find in between the original Find and FindNext.
Change
Set MyEdit = .FindNext(MyEdit)
toSet MyEdit = .Find("k", MyEdit, xlValues, xlWhole, xlByColumns, , True)
Sue
Dec 06, 2021Copper Contributor
Hi Hans, I marked YOUR reply as the best response to my problem but it looks like it has come up associated with the reply I made to you - how can this be fixed? Sue
HansVogelaar
Dec 06, 2021MVP
Fixed!