ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   template macro executing problem the 2nd time (https://www.excelbanter.com/excel-programming/365280-template-macro-executing-problem-2nd-time.html)

MAB

template macro executing problem the 2nd time
 
I have a right click menu macros built in to a template. After creating a
new workbook (with this template), if I create a new workbook using the same
template, Excel wants to execute the right click macro from the 1st workbook
(even if the 1st workbook is closed). Whether the 1st workbook is closed or
not, I don't want the 2nd workbook to execute the macro from the 1st.

Any thoughts?

Don Guillett

template macro executing problem the 2nd time
 
As always, post YOUR code for comments

--
Don Guillett
SalesAid Software

"MAB" wrote in message
...
I have a right click menu macros built in to a template. After creating a
new workbook (with this template), if I create a new workbook using the
same
template, Excel wants to execute the right click macro from the 1st
workbook
(even if the 1st workbook is closed). Whether the 1st workbook is closed
or
not, I don't want the 2nd workbook to execute the macro from the 1st.

Any thoughts?





All times are GMT +1. The time now is 08:29 AM.

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