Hi --
I'm trying to add lines to my code to duplicate the active workbook as a separate workbook.
Initially, I was just using 'ActiveWorkbook.Sheets.Copy' but I noticed that this function doesn't copy over sheets that are VeryHidden.
The only other alternative I know is to use 'ActiveWorkbook.SaveCopyAs'. However, I'd like to avoid a route that requires the file to be saved via code because the file path can change depending on the user, and I don't want the users to have to worry about defining their specific file destinations.
The new workbook doesn't need to include any of the vba modules from the original -- if there's a version of 'ActiveWorkbook.Sheets.Copy' that includes VeryHidden sheets that'd be perfect. However, if only a total duplication is possible (incl the modules) then that's fine as well.
Thank you!
-k
Bookmarks