farnye
Civil/Environmental
- May 22, 2003
- 14
Im trying to see if the following problem is even do-able.
When doing traffic forecasting, i need to add/copy 2 new sheets in excel each time an additional intersection is started. By using the macro recorder, i have been successful in doing the following;
-copying from 2 previous sheets to make the new sheets.
-rename the new sheets to a generic name
-change the formulas in the new sheet 2 to ref back to new sheet 1 using the new generic name.
My question is can i add an extra step while the macro is running, so an input box can pop up, allwoing me to manual input what i want the sheets to be named(and also apply that name to the formula changes)??
currently i have to wait till it is done running and then change the sheet names and formluas by hand to the correct names i want, making the macro seem worthless.
When doing traffic forecasting, i need to add/copy 2 new sheets in excel each time an additional intersection is started. By using the macro recorder, i have been successful in doing the following;
-copying from 2 previous sheets to make the new sheets.
-rename the new sheets to a generic name
-change the formulas in the new sheet 2 to ref back to new sheet 1 using the new generic name.
My question is can i add an extra step while the macro is running, so an input box can pop up, allwoing me to manual input what i want the sheets to be named(and also apply that name to the formula changes)??
currently i have to wait till it is done running and then change the sheet names and formluas by hand to the correct names i want, making the macro seem worthless.