Thread
:
Add a VBA Module from a String instead of from a file
View Single Post
#
1
Posted to microsoft.public.excel.programming
[email protected]
[_2_]
external usenet poster
Posts: 236
Add a VBA Module from a String instead of from a file
If I have
Dim v as String
v = "Sub test() " + chr(10) + "MsgBox 33333" + chr(10) + "End Sub"
Is there a way to add a new module and insert the Sub test from the
string variable v ?
Thanks.
Reply With Quote
[email protected]
[_2_]
View Public Profile
Find all posts by
[email protected]
[_2_]