#1
|
|||
|
|||
ComboBox ListIndex = -1 even though it does NOT = -1
Hi,
I'm using this code to tell the user to choose something from the list provided but every time you open the document it's like starting all over! Code:
If ActiveDocument.ComboBox8.Value = "-Select-" Or ActiveDocument.ComboBox8.ListIndex = -1 Then MsgBox "Please select from list provided." Exit Sub End If Please help. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Code to export value from ComboBox | ilkks | Word VBA | 7 | 05-25-2011 04:06 AM |
Textbox updating from combobox selection | paxile2k | Word VBA | 0 | 10-26-2010 02:30 PM |
How to use the content of a combobox for {IF} field? | Melaanie | Word | 0 | 06-14-2010 02:00 AM |
Array into ComboBox + Macro-Text into ActiveDocument | Vivi | Word VBA | 1 | 01-27-2010 07:03 AM |
Combobox manipulation | vsempoux | Word VBA | 3 | 10-31-2009 08:58 AM |