Hi All,
I have a worksheet that has multiple tables in it. The table names are based on the branch and the time of year. I'm trying to program something so that I can push a button and easily print multiple tables based on the ListBox selections.
I have 2 ListBoxes; one for the branch and another for the quarter. I need to be able to select multiple branches and quarters and have it select the appropriate tables to print ie) if I select district A and B in the branch ListBox and Q1 and Q2 in the date ListBox, it will print tables A_Q1 & A_Q2 & B_Q1 & B_Q2.
I can usually muddle my way through writing a macro, but this is the first time I have ever worked with UserForms or ListBoxes. I can probably work out the actual printing part of the macro, but I'm struggling with how to select the appropriate tables.
I have the UserForm and ListBoxes set up properly (I think!). I attached what I have so far; I think the visual will better explain what I'm trying to do. I hope I have adequately explained everything, but if I need to clarify anything, please let me know. I'm working in Excel 2007. Any assistance would be greatly appreciated!
Demo.xlsm
Bookmarks