Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-28-2022, 04:10 AM
Guessed's Avatar
Guessed Guessed is offline Word Userform is only displaying 1 text value on document and not all that are checked. VBA code? Windows 10 Word Userform is only displaying 1 text value on document and not all that are checked. VBA code? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,166
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

As written, the code should keep replacing the same range until it does the final caption (this happens faster than you can see). If you want it to keep adding then insert the text after the range or keep adding to the end or start of the range.
For example:


NeededForms.InsertAfter vbCr & oCtrl.Caption
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Tags
checkboxes, word user form

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
ms word document text translation using vba code pk_00 Word VBA 1 03-02-2020 03:11 PM
The Word userform checkbox (checked/unchecked) is not saved on the Application Quit matapagi2019 Word VBA 3 03-31-2019 02:29 AM
Word Userform is only displaying 1 text value on document and not all that are checked. VBA code? Creating a letter in Word, with text pulled from an Excel document based on selections in a userform TMAL Word VBA 6 12-15-2017 02:16 PM
Template opens with userform ; non-checked boxes should lead to deletion of corresp paragraphs samszaf Word 1 09-07-2015 09:52 AM
VBA Code in a UserForm module to delete a Command Button which opens the userform Simoninparis Word VBA 2 09-21-2014 03:50 AM

Other Forums: Access Forums

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


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