View Single Post
 
Old 04-21-2022, 01:17 PM
MarkB MarkB is offline Windows 10 Office 2016
Novice
 
Join Date: Apr 2022
Posts: 2
MarkB is on a distinguished road
Default Word Combobox in a RTF document in Compatibility Mode

Hello All,

I have a simple combo box setup with multiple selections for users to choose from, however the program that the documents are being used through required them to be saved in RTF format and open solely in compatibility mode and this cannot be changed.

Therefore every time I save the document I loose the coding.

Is there anyway to have a multiple choice option menu in a RTF document in compatibility mode?

Coding is simple
Code:
Private Sub Document_Open()
ComboBox1.Clear
ComboBox1.AddItem "Option 1"
ComboBox1.AddItem "Option 2"
ComboBox1.AddItem "Option 3"
ComboBox1.AddItem "Option 4"
ComboBox1.AddItem "Option 5"
ComboBox1.AddItem "Option 6"
ComboBox1.AddItem "Option 7"
ComboBox1.AddItem "Option 8"
ComboBox1.AddItem "Option 9"
ComboBox1.AddItem "Option 10"
'Set initial value
ComboBox1.Value = "Make your selection here"
End Sub
Reply With Quote