I have used the code below to split a workbook by the values in column A. This has worked to retain some of the formatting, formulas and list names. However, it does not retain the macro I have behind the sheet I am splitting (sheet1). Does anyone know whether it is possible (with this code, modified somewhat, or another VBA script) to split a workbook by a column into multiple workbooks (.xlsm in this case) and retain the macros behind sheet1 in all the resulting workbooks? I have found a way to save as .xlsm by specifying: "FileFormat:= 52" in place of "XlNormal," but this does not keep the macros.
![]()
Please Login or Register to view this content.
Bookmarks