Hi -
I want to be able to write VBA which writes VBA code into the view code piece of a new worksheet. For example, I've got some code I'd like to include in
The worksheet this would be incluided in would be dynamically created by some VBA code. So, once the worksheet is created, I'd then have my VBA routine write some VBA into the Worksheet_Change.
How can I do this?
- Bill
I want to be able to write VBA which writes VBA code into the view code piece of a new worksheet. For example, I've got some code I'd like to include in
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
The worksheet this would be incluided in would be dynamically created by some VBA code. So, once the worksheet is created, I'd then have my VBA routine write some VBA into the Worksheet_Change.
How can I do this?
- Bill