ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   combine two macros (https://www.excelbanter.com/excel-worksheet-functions/100282-combine-two-macros.html)

Lisa

combine two macros
 
I have a macro that will copy and insert a new worksheet and I have a macro
that will prompt for the name of the sheet. How do I combine both macros to
work at the same time. Copy, insert, prompt?

Lisa

Die_Another_Day

combine two macros
 
Sub MacroA()
'Your Code Copy... Insert... Blah Blah
Call MacroB 'Prompts... Blah Blah...
End Sub

HTH

Die_Another_Day
Lisa wrote:
I have a macro that will copy and insert a new worksheet and I have a macro
that will prompt for the name of the sheet. How do I combine both macros to
work at the same time. Copy, insert, prompt?

Lisa




All times are GMT +1. The time now is 05:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com