Of course for Column B, simply change the reference in the above code from 'A' to 'B' each place it occurs.Originally Posted by swatsp0p
Also, I forgot to mention that if you want to skip 1 or more rows below the last entry, adjust the "Offset(rRng.Count, 0)" by changing the zero to as many rows as you want to skip. e.g to leave 2 blank rows, change the zero to a 2. If the last active row was 100, the cursor would be placed in 103 (skipping 101 & 102).
You can assign this code to a button or simply run it by pressing Alt+F8 and selecting "lastrow" from the list.
Does this work for you?
Bookmarks