Hello!
I really love Excel. I recently started using some more advanced formulas and it's giving me some cool ideas, that are stretching beyond my current excel capabilities! I'm trying for the first time to incorporate some VBA into a workbook. Could I ask for your thoughts on how to approach something?
I've created a master worksheet called Master which is going to include some reporting formulas set up based on a product code. I'm going to set it up so I can enter any product code into A1 and it runs a few formulas to report on that product code. So that will be the easy part, but I'd like to create a macro, or userform, or some automated way for a user to enter in up to 30 product codes into a worksheet called Set Up, and then press a button and Excel automatically creates a new worksheet for each product code. I want it to copy my Master worksheet and name it the product code, and also enter the product code into cell A1 within the new worksheet. Then I'd like a Reports worksheet to populate with a few values from each of the 30 worksheets (up to 30).
Should I be using Userforms for this? What are some of the basic codes to initiate a new worksheet, name it, transfer a value into it, and then include results from that sheet in a report? It's confusing - how can I pre-configure a Report worksheet if I won't know ahead of time what the product codes will be and exactly how many there will be (only the max number)?
I attached a rough skeleton of what I'm planning. I'm using Excel 2010. Any help would be amazing. I'm finding a few sites out there with some tips for this type of thing, but it's never quite exactly what I'm doing and I'm beginning to think that might take a while just hacking through it! This project has been fun.
Todd
Bookmarks