Hello,
I have a macro that ask the user to input a value and then the macro will create a new worksheet by copying a hidden template worksheet and then name that new worksheet as the value entered by the user. All is working fine. My problem is that the new created worksheet (based on the template worksheet) is not exactly formatted the same as the template worksheet. The row heights is not the same as the template worksheet and the active x controls (checkboxes) that were on the template worksheet are not copied. My template worksheet does used merged cells (I know I am not supposed to but I had to because on my client request).
So my question is how can I copy the template worksheet while keeping the row heights as well as the active X controls ? Please see the codes below. I highlighted in bold where I have trouble.
![]()
Please Login or Register to view this content.
If this may help, I am using another macro that saves a worksheet as a workbook. The code in that macro does exactly what I want (copies the row heights of merged cells as well as the active x controls) but I was not able to merge it with the macro above.
Thank you for all your help![]()
Please Login or Register to view this content.
Bookmarks