Attempting to do:
I have a macro enabled workbook(.xlsm) with 2 sheets that are filled in by a third sheet.
I want those 2 sheets to be saved as .csv files separately from each other
and the original workbook so that I can upload them to a database.
So far:
Through VBA code I have found that I can't simply save the worksheets but that each sheet has to be moved to a new workbook then saved.
That feature works.
The problem:
The formatting of columns as text and custom to preserve leading zeros
is lost from the original worksheet to the moved to worksheet.
Question:
How do I keep all the column formatting during the sheet's transition to the
new workbook for saving?
Thank you so much in advance!
I have a macro enabled workbook(.xlsm) with 2 sheets that are filled in by a third sheet.
I want those 2 sheets to be saved as .csv files separately from each other
and the original workbook so that I can upload them to a database.
So far:
Through VBA code I have found that I can't simply save the worksheets but that each sheet has to be moved to a new workbook then saved.
That feature works.
The problem:
The formatting of columns as text and custom to preserve leading zeros
is lost from the original worksheet to the moved to worksheet.
Question:
How do I keep all the column formatting during the sheet's transition to the
new workbook for saving?
Thank you so much in advance!