Hi all. Hoping someone can assist me.
I am provided with large spreadsheets (that have been created from data held in Access) and have no control over the data provided.
In these sheets will be columns that contain dates in a variety of different formats and I need to create VBA that will look at the spreadsheet and for any cell containing a date, the format is changed to dd-mmm-yyyy (ie 01-Jan-2017) regardless of what it was originally. Up until now I have just manually changed this before sending the sheets on, but am looking to automate this.
I would like to avoid naming specific columns for this such as column D, G, H etc as depending on what data I am provided with, the column letters will change from sheet to sheet, so something that just looks for a date and then changes it to dd-mmm-yyyy.
Hoping some kind soul can offer some assistance.
Many thanks!
I am provided with large spreadsheets (that have been created from data held in Access) and have no control over the data provided.
In these sheets will be columns that contain dates in a variety of different formats and I need to create VBA that will look at the spreadsheet and for any cell containing a date, the format is changed to dd-mmm-yyyy (ie 01-Jan-2017) regardless of what it was originally. Up until now I have just manually changed this before sending the sheets on, but am looking to automate this.
I would like to avoid naming specific columns for this such as column D, G, H etc as depending on what data I am provided with, the column letters will change from sheet to sheet, so something that just looks for a date and then changes it to dd-mmm-yyyy.
Hoping some kind soul can offer some assistance.
Many thanks!