RichardMGreen
Well-known Member
- Joined
- Feb 20, 2006
- Messages
- 2,177
Hi all
I've got the following piece of code I've inherited:-
It's part of a much bigger macro and all it does it gets the last used column to the right and deletes the one after it just in case there's some odd characters in it (which messes up a data upload).
I'm fairly certain there's an easier way to do this but I can't get my head around it.
Anyone any pointers?
I've got the following piece of code I've inherited:-
Code:
Range("G1").Select
Selection.End(xlToRight).Select
ActiveCell.Offset(0, 1).Select
Selection.EntireColumn.Delete
I'm fairly certain there's an easier way to do this but I can't get my head around it.
Anyone any pointers?