Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-26-2020, 02:43 AM
ashbee ashbee is offline Not changing a content control if re-entered and Userform pops up. Windows 10 Not changing a content control if re-entered and Userform pops up. Office 2016
Novice
Not changing a content control if re-entered and Userform pops up.
 
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, 8 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not changing a content control if re-entered and Userform pops up. Changing line background color depending on the content control value valaden Word VBA 1 11-21-2019 08:11 PM
Not changing a content control if re-entered and Userform pops up. Changing color of instructional text in a content control box Document Specialist Word 2 08-17-2018 05:25 AM
Not changing a content control if re-entered and Userform pops up. Show Userform when Content Control CheckBox ticked derajlance Word VBA 1 05-13-2016 01:55 PM
Have Text Entered in Content Control / PreDefined Field Populate Field in Footer bzowk Word 1 04-14-2016 11:50 AM
How-to: Add a quickpart, field or Building Block Gallery Content Control based on a UserForm HighSierra Word VBA 0 05-06-2015 08:20 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft