Hi Thomas,
Create the new workbook from a macro in the template.
You can record the macro for creating the new workbook to get the syntax.
After you create the new workbook, you can copy the worksheets from your
template to the new workbook.
When copying the worksheets, use the method of right click on the tab with
the worksheet name and select Move or copy. (Record this also to get the
syntax for the macro)
There will be no macro in the new workbook to delete.
Regards,
OssieMac
"Thomas" wrote:
> Hi,
>
> I have created a templete with a 2 macros in it. The first is a macro that
> will be needed within new book which will be created from the template. The
> second is an automatic macro designed to set up the book and (hopefully)
> delete itself from the book (the macro can't be deleted from the template for
> it will be needed the next time the template is used) as soon as the template
> is opened. Unfortunately, I haven't a clue how to delete this automatic macro
> and not the other. Can you help me on this?
>
|