Word 2007: Using a check box to customize a document

mhblake

New Member
Joined
Jun 11, 2013
Messages
3
I'm working on creating a customizable form for our office and need some help. The document I'm looking to create may have one component or multiple components depending on the needs of the individual person using it. In essence, one person may just need Section A to show, while someone else may need Sections A, B, C, and F (in that order, of course).

To make things easier (I hope), the beginning of the document includes check boxes designating which sections are included. The idea is that the user would check whatever sections are needed, and they will appear in that order within the document.

I think the best way to accomplish what I'm looking to do is to tie a macro to each of the check boxes and then maybe use the "IncludeText" field to add the specific parts? Of course this would require maintaining a separate document for each section, which I'm okay with.

My question is how do I tie the macro to the field based on whether or not the box is checked? And once I do that, how do I ensure that the sections remain in order regardless of the order in which they're checked? In addition, which check box should I use - the legacy form or the ActiveX?

As a bit of a disclaimer...I don't really know VBA. I've dabbled with it in Excel using the "record macro" feature, but I'm not real sure how to get it to do what I want here.

Thanks much!!
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,215,022
Messages
6,122,716
Members
449,093
Latest member
Mnur

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top