Have multi-page user form attached to a template in VBA/Word (2000), with various check boxes, etc. on each page. Have set code behind OK button for entire user form to verify that each check box in turn has been selected and if not, to set focus to the unselected check box so user can take appropriate action. However, when I create a new doc based on the template and leave a check box unselected, I get an error message that says the focus can't be set to the check box because its invisible, not enabled, or can't receive the focus. Trouble is, every check box on every page has its visbility on and is enabled.
I have tried including page name before check box name, but nothing seems to work. Any suggestions would be most appreciated.
For example, the following does NOT work.
If chkCustomerName.value="" then
X=MsgBox("Please ensure you peformed this action",vbOKOnly)
Strange thing is that when I type chkCustomerName., VBA allows me to select SetFocus as an action.