Try this one. It'll copy the last used column until the number of columns specified in A1 has been filled. I removed the deleting capability that the old version had (if the number in A1 was smaller than the number of columns). Now, if you have 3 columns filled and you enter a "2" in A1, my program throws up a custom error message pointing out the problem. Will that do? I can redesign it to delete columns if A1 is too small, but I would need to know whether to delete columns starting with column A or starting with the furthest column to the right. Let me know.
Bookmarks