Hi guys,
I need a bit of help writing a code that will effectively drag the last date in column B up to yesterday's date.
The first date in cell B2 is 02/04/2012. I could either start at 02/04/2012 and drag it down by the number of days so something like 'yesterday's date minus 02/04/2012. Or find the last date in column B and drag it down to yesterday's date, again doing some subtraction to find the number of dates to add.
Any help would be very much appreciated.
Many thanks,
Fred
I need a bit of help writing a code that will effectively drag the last date in column B up to yesterday's date.
The first date in cell B2 is 02/04/2012. I could either start at 02/04/2012 and drag it down by the number of days so something like 'yesterday's date minus 02/04/2012. Or find the last date in column B and drag it down to yesterday's date, again doing some subtraction to find the number of dates to add.
Any help would be very much appreciated.
Many thanks,
Fred