Hello,
I want to avoid writing more lines. That is, I want to avoid the multiple case statements.
And I am looking for a way to dynamically determine the two sheets to send data to, based on the selection from the combobox1, without using the case statement.
I have codes that I will run under the case statement – longer codes- and writing it three times will make my scripts too long. That is why I am looking for a way to get it written only once.
So when I make a selection from the combobox1, I want the code to point to the two right sheets.
For example, if the selected sheet is “Data 1” from the combobox1, then the two sheets to send data to are “Data 2” and “Data 3”.
I wish someone could help me out with the script to get the job done. Thanks in advance.
Bookmarks