Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have two worksheets on one workbook. One named 'main page', the other one is 'template page' which includes some table template inside. In the main page, based on diifferent option button choice, different table template in 'template page' will be copyed into main page. I write some VBA code to realize this function. This works fine. The code is as follows. If Worksheets("Main page").OptionButton1.value = 1 Then Worksheets("Template page").Range("L7:M19").Copy Destination:=Worksheets("Main page").Range("E10") Else If Worksheets("Main page").OptionButton2.value = 1 Then Worksheets("Template page").Range("D7:E19").Copy Destination:=Worksheets("Main page").Range("E10") End If End If The table templates in the worksheet 'template page' contain some check boxes. After the option button on the main page is seleced, the corresponding table template will appear on main page. Then I selected some check boxes in the table template copied from 'template page' on the main page. Now, I want to save this book with those selected check boxes. It could save. However, when I open this saved workbook again, the value of those check boxes on main page are still false(which should be true). Do you have idea to solve this problem?How can I make the copied table template independently on the main page? Thank you in advance!!! Best Regards Sam |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Independently controlled dates on each worksheet | Excel Discussion (Misc queries) | |||
make hyperlinks follow the copied sheet, not the original | Excel Discussion (Misc queries) | |||
Is there a way to make excel save worksheets independently | Excel Discussion (Misc queries) | |||
XL range copied into Word | Excel Programming | |||
How do I make all columns in a range in a worksheet the same width | Excel Worksheet Functions |