Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-12-2019, 12:04 PM
Steve Kunkel Steve Kunkel is offline Have user form label assigned by variable? Windows 10 Have user form label assigned by variable? Office 2016
Advanced Beginner
Have user form label assigned by variable?
 
Join Date: May 2019
Location: Seattle area
Posts: 81
Steve Kunkel is on a distinguished road
Default Have user form label assigned by variable?

I'm a newbie, so I might be approaching this whole thing wrong...



This is a Word Template. Upon "New" a sub runs (top of image) and assigns some label text. (Static text right now, but it will be variables later). The Document_New() also calls "formMain."

In the middle of the image is the formMain Object. There is a radio group of 4 items. They are (from top to bottom) optSch1, optSch2, optSch3, and optSch4.

The bottom of the image shows the actual form when a new document is made from the template. Oddly, only one of the radio boxes is populated with the assigned text. It is "optSch2" and it is using the text that was assigned to optSch3 !!! I prefer to have optSch1 with value = true (i.e. selected) by default, but I tried it both ways and get the same effect.

Any ideas what I'm doing wrong? I can upload the .dotm if needed.


Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Have user form label assigned by variable? Assigning a string variable to a userform label caption Larry_1 Excel Programming 3 12-18-2017 06:59 AM
MACRO in infinite loop when it encounters user defined figure label photoval Word VBA 3 02-02-2016 08:26 PM
Variable arrays from user input SeattleITguy Excel Programming 1 01-29-2015 09:19 AM
Have user form label assigned by variable? User input to a variable on the document dsm1995gst Word VBA 1 09-03-2013 03:43 PM
Task Form disappearing when assigned zoids Outlook 0 03-27-2011 05:01 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:10 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