K
kittronald
If ComboBox1 contains multiple values, how could you programmatically
iterate through each one as if you were selecting each value manually with
the mouse ?
For example, in order, the values for ComboBox1 are Apple, Banana and
Orange.
A Save_File macro saves Sheet1 with the name equal to ComboBox1's first
value = Apple.
After the macro runs, ComboBox1's next value, Banana, is selected.
The Save_File macro runs again and saves Sheet1 as ComboBox1's next
value = Banana.
- Ronald K.
iterate through each one as if you were selecting each value manually with
the mouse ?
For example, in order, the values for ComboBox1 are Apple, Banana and
Orange.
A Save_File macro saves Sheet1 with the name equal to ComboBox1's first
value = Apple.
After the macro runs, ComboBox1's next value, Banana, is selected.
The Save_File macro runs again and saves Sheet1 as ComboBox1's next
value = Banana.
- Ronald K.