I am trying to write a VBA code that would loop through all comboboxes on my worksheet and change their value to "N/A". Perhaps something is wrong with my code here? Thoughts?
<code>
Dim X As Long
For X = 1 To 999
ActiveSheet.("ComboBox" & X).Value = "N/A"
Next X
</code>
<code>
Dim X As Long
For X = 1 To 999
ActiveSheet.("ComboBox" & X).Value = "N/A"
Next X
</code>