Hello all,
I have an issue that I am trying to resolve. I have an excel spreadsheet that we save into .csv format to upload to a 3rd party system. This system requires that the date column is in the format DDMMYYYY. When I get the extract, there are about 7500 columns with the date listed (ex 6/2/2011) The column is formatted as General.
I need to be able to do the following:
1. Convert this column to MMDDYYYY format (06022011) with the leading zero for single digit months and single digit days.
2. I need to subtract 1 day from the result (ex. 06022011 needs to go to 06012011 or for the first day of the month 06012011 needs to go to 05312011)
I am not a large VBA guru so any help would be appreciated.
I have an issue that I am trying to resolve. I have an excel spreadsheet that we save into .csv format to upload to a 3rd party system. This system requires that the date column is in the format DDMMYYYY. When I get the extract, there are about 7500 columns with the date listed (ex 6/2/2011) The column is formatted as General.
I need to be able to do the following:
1. Convert this column to MMDDYYYY format (06022011) with the leading zero for single digit months and single digit days.
2. I need to subtract 1 day from the result (ex. 06022011 needs to go to 06012011 or for the first day of the month 06012011 needs to go to 05312011)
I am not a large VBA guru so any help would be appreciated.