View Single Post
 
Old 01-26-2020, 02:43 AM
ashbee ashbee is offline Windows 10 Office 2016
Novice
 
Join Date: Jan 2020
Posts: 3
ashbee is on a distinguished road
Default Not changing a content control if re-entered and Userform pops up.

Hello there,

I'm hoping someone can help. I have a Word form that uses Greg Maxey's really helpful guide on how to get a multi-select list in Word. Currently, if the user re-enters the content control, any previous selections they make are cleared so they have to re-select them, what I'm trying to achieve is either:

1. if they re-enter the control it either re-loads what they've already selected into the list allowing them to add/remove any choices

OR

2. add another command button to the userform which allows them to leave without making any changes to what is already contained in the content control.

In a bid to trap any errors, I've removed the userform's Windows Close icon as if the user did not make any choices and tried to exit this way - they were taken to the code window to resolve the error. I also disabled the Confirm Selection button until the user makes a selection as this also created an error if the user clicked it before making a selection.

I've attached a sample of my form in the hope someone might be able to help with either of the two scenarios.
Attached Files
File Type: docm multiselect userform.docm (63.3 KB, 10 views)
Reply With Quote