Hi again!
Okay so I was wondering if you amazing excel-guru's could help me out--bear with me while I try to word this properly.
I have a bunch of sheets in a workbook (Named A, B, C, ... etc) that all contain different data but in identical tables (one on each page)
I have a user form that you can choose which sheet you want data from, and the code copies data from chosen sheet into a "main table".
The combo box that you choose your sheet from is named 'txtName' and the options are merely "A, B, C, ... etc", same as the sheet names.
Okay, so now I want to dive deeper.Please Login or Register to view this content.
I want to have a combo box with 'group' choices. Say Group 1 is for Sheets A & B, and Group 2 is for Sheets C & D
How would I write the code so that if I choose Group 1, excel will go copy/paste the data from Sheets A AND B into the main table? Is there a way to define a worksheet 'object' as being sheet A AND sheet B so I can keep the code the same?
I don't have a mock-file created to show exactly what I mean but can try to make one if my explanation is too difficult to understand!!!
Bookmarks