开发者

Having trouble with hiding a template sheet

开发者 https://www.devze.com 2023-04-06 03:17 出处:网络
I\'ve been trying to set up the Workboo开发者_StackOverflowk_Open() sub so that it hides my template sheet when I open the workbook, but it always hides the template and any subsequent sheet that I cr

I've been trying to set up the Workboo开发者_StackOverflowk_Open() sub so that it hides my template sheet when I open the workbook, but it always hides the template and any subsequent sheet that I create with my macros that use the template. I'm not really sure why it's hiding everything, but I would like to know how to hide


My guess, your sheet create macro is making a copy of the template. Unhide the copy:

Set sh = ThisWorkbook.Sheets("Template").Copy
sh.Visible = xlSheetVisible
0

精彩评论

暂无评论...
验证码 换一张
取 消