This is Mike once again. Trying to read the value from a user form control combo box. Can anyone explain why I'm getting this error from the code below? The error occurs at "LetterID = .List(.ListIndex)". LetterID is a variant type.
Thanks in advance!
Error: Object doesn't support this property or method
Code:
Dim wk As Worksheet
Dim dd As Shape
Set wk = ThisWorkbook.Worksheets(WSName)
Set dd = wk.Shapes("Cmb_LetterID")
With dd.ControlFormat
LetterID = .List(.ListIndex)
End With
Thanks in advance!
Error: Object doesn't support this property or method
Code:
Dim wk As Worksheet
Dim dd As Shape
Set wk = ThisWorkbook.Worksheets(WSName)
Set dd = wk.Shapes("Cmb_LetterID")
With dd.ControlFormat
LetterID = .List(.ListIndex)
End With