Hi,

I've searched around and I know i've seen threads out there, but I can't find them.

Does anyone have any links to threads or otherwise on how, if possible, to create a macro that will creat another macro?

I'm building a spreadsheet that department managers can use to create schedules for a store. What I want to happen is the dptm (dept. manager) to enter their department name and how many employees in their department on an input sheet. They'll run a macro that will create a section on another tab (along with the other departments) with their department name and empty rows where they can enter the employee information. The thing is, they may need to create more lines for additional employees.

The way that I've envisioned this is that each section has a macro to add the additional lines. The dptm can just click on a button for their section and a new line is inserted (along with what ever formatting I need). So the initial macro would need to create the section and the macros along with it.

is it possible to have a macro create another macro?

I am definitely open to other ways of doing it. I'm not the most savvy programmer so it could just be that I'm taking the wrong approach.