Convert Text to Num from ComboBox.Addme to Excel
I'm new to VBA - So I hope this is understandable.
ComboBox in my UserForm: cboValues:
1
2
3
4
The number is selected in the ComboBox and added to a column in Excel.
The number is returned as "Text" to Excel so my pivot tables will not recognize the value.
I have tried several VBA coding ideas but none have worked.
I can update the Column to number format in Excel -- but when a new record is added, the cell value from cboValue still returns in Text Format.
Does anyone know how to automate/fix this with VBA code? Thanks.
|