Hello!
How to copy a class's VBA source code to a variable?
I don't know if there would be a command like this: Var1 = Sheets("Sheet1").VBACode
Thanks.
Hello!
How to copy a class's VBA source code to a variable?
I don't know if there would be a command like this: Var1 = Sheets("Sheet1").VBACode
Thanks.
If you made a mistake in your post, just add a new post to the thread.
Please explain more fully what you mean
I found: Var1 = ThisWorkbook.VBProject.VBComponents().CodeModule.Lines()
I'm still not sure what you would use it for.
Don’t have an account yet? Register yourself now and be a part of our community!