View Single Post
 
Old 05-12-2019, 12:04 PM
Steve Kunkel Steve Kunkel is offline Windows 10 Office 2016
Advanced Beginner
 
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