In my Excel workbook I have a Date column.
I need a macro that runs when the workbook is opened.
It needs to do the following:
1. Sort the Date in Ascending order (I can do this)
2. Go to the Date cell that has the closest date to today's date (current date)
I can get the macro to sort, but I can't get it to do #2 or have it run when the workbook is opened.
Thanks
I need a macro that runs when the workbook is opened.
It needs to do the following:
1. Sort the Date in Ascending order (I can do this)
2. Go to the Date cell that has the closest date to today's date (current date)
I can get the macro to sort, but I can't get it to do #2 or have it run when the workbook is opened.
Thanks