View Single Post
 
Old 10-23-2023, 02:36 AM
Italophile Italophile is offline Windows 11 Office 2021
Expert
 
Join Date: Mar 2022
Posts: 554
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

I would be very surprised if your code works at all given that it doesn't compile.

Code:
wert = comboBox.Value
The line above is invalid as a Content Control does not have a Value property. Instead you need:

Code:
wert = comboBox.Range.Text
Whilst learning ensure that you learn to use:
  1. IntelliSense
  2. the Object Browser
  3. the online documentation (press F1)
Reply With Quote