I have a column of data that has a mix of dates and numbers. I want to create a macro that moves only the numbers (not dates) over a set distance (a few columns over and up one). I can play around with "offset" and get it right but am having trouble with getting the "NumberFormat" property to recognize what's in date format and what's not.
I used the following simple code to get started:
It's moving everything regardless of format. I tried using m/d/yyyy instead of "Date" but that doesn't work either. Do I need to use an "elseif" somewhere too?
Thanks.
Bookmarks