I want to create an archive of all my workbooks that are in the top folder and subfolders in one go (all the information must be presented as a values, therefore no formula).
- Top folder contains multiple subfolders and some workbooks.
- Each subfolder contains multiple sub-subfolders and some workbooks.
- Each sub-subfolder contains multiple Excel workbooks of different formats (xls, xlsx, xlsm). Up to 150 workbooks can be in the sub-subfolder. (see attached image)
- All workbooks *.xlsm format contain VBA macro
I have imagined this in the following way.
After starting the VBA, Excel open each workbook in the top folder, subfolders and sub-subfolders, converts the results obtained from the formulas in text and values and save without formulas in the same file format.
VBA macro can be created by archiving to a different location in a new top folder, named 'Backup Top Folder - Date' (other subfolders, sub-subfolders, and workbooks should have an original name).
Attention! It would be good if it is possible, after starting the VBA macro to appear input popup frame in which I can choose the original top folder as output places where I want to create a backup.
I found the VBA, which archives without the formulas, but the problem is that it works only for one workbook. I want to do this at once for all the workbooks within the top folder, subfolders and sub-subfolders.
In the picture below you can see the simulation of folder organization and workbooks. Folder names, subfolders, sub-folders, and workbooks are simulated.
Anyone here on the forum, who can help me with VBA macro who does what I want?
- Top folder contains multiple subfolders and some workbooks.
- Each subfolder contains multiple sub-subfolders and some workbooks.
- Each sub-subfolder contains multiple Excel workbooks of different formats (xls, xlsx, xlsm). Up to 150 workbooks can be in the sub-subfolder. (see attached image)
- All workbooks *.xlsm format contain VBA macro
I have imagined this in the following way.
After starting the VBA, Excel open each workbook in the top folder, subfolders and sub-subfolders, converts the results obtained from the formulas in text and values and save without formulas in the same file format.
VBA macro can be created by archiving to a different location in a new top folder, named 'Backup Top Folder - Date' (other subfolders, sub-subfolders, and workbooks should have an original name).
Attention! It would be good if it is possible, after starting the VBA macro to appear input popup frame in which I can choose the original top folder as output places where I want to create a backup.
I found the VBA, which archives without the formulas, but the problem is that it works only for one workbook. I want to do this at once for all the workbooks within the top folder, subfolders and sub-subfolders.
In the picture below you can see the simulation of folder organization and workbooks. Folder names, subfolders, sub-folders, and workbooks are simulated.
Anyone here on the forum, who can help me with VBA macro who does what I want?