#1
|
|||
|
|||
VBA Mandatory/Required Fields - legacy and activex
I'm designing quite a large form , which uses legacy text boxes for customers to fill in sections such as personal details, etc. I also use Activex ComboBoxes for Drop Down lists and also use the legacy checkboxes. What I need help with is setting each up as mandatory fields. The legacy text boxes can be sorted each with a macro: Sub MustFillIn() If ActiveDocument.FormFields("ReferringSchool").Resul t = "" Then Do sInFld = InputBox("Please provide the name of the referring school") Loop While sInFld = "" ActiveDocument.FormFields("ReferringSchool").Resul t = sInFld End If End Sub But i have no idea how to make an activex combobox (drop down list) mandatory - or msg to pop up if empty |
#2
|
||||
|
||||
Cross-posted (and replied to) at: http://answers.microsoft.com/en-us/o...a-15766e0ee71c
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mandatory password possible? | Cropfield | Word | 0 | 01-08-2016 06:37 AM |
Legacy Form Fields Miscalculate | LauraL | Word | 2 | 09-21-2015 08:47 PM |
Focus wonky in my legacy form fields/table | CindyHa | Word | 8 | 01-13-2015 05:37 PM |
Mandatory field | thedeadzeds | Word VBA | 2 | 05-09-2013 06:30 PM |
How do I Convert All Legacy Check Boxes to ActiveX? | GreenPolyps | Word | 1 | 12-20-2011 05:11 PM |