Change
toFor Each r In Range("a1", Range("a" & Rows.Count).End(xlUp))
For Each r In ActiveSheet.UsedRange
Change
toFor Each r In Range("a1", Range("a" & Rows.Count).End(xlUp))
For Each r In ActiveSheet.UsedRange
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks