![]() |
VBA Code to Import VBA Modules
Hello,
I have an application that creates multiple Workbooks. In each Workbook I would like to add VBA Code to Microsoft Excel Objects / Sheet 1 Private Sub Worksheet_Change(ByVal Target As Range) .... End Sub Is their a way (& if so, how) to add this Code to Each Workbook as it is being created. Any help would be greatly appreciated. Thank you, Jeff |
VBA Code to Import VBA Modules
See www.cpearson.com/excel/vbe.htm for details and example code.
-- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Jeff" wrote in message ... Hello, I have an application that creates multiple Workbooks. In each Workbook I would like to add VBA Code to Microsoft Excel Objects / Sheet 1 Private Sub Worksheet_Change(ByVal Target As Range) .... End Sub Is their a way (& if so, how) to add this Code to Each Workbook as it is being created. Any help would be greatly appreciated. Thank you, Jeff |
All times are GMT +1. The time now is 01:41 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com