M
Marcel
Hi,
Is there a command in VBA that executes literal vba code supplied on a variable or as text string?
I'm recieving a textstring from a word document like ' Options.DefaultFilePath(Path:=wdUserTemplatesPath) = "" ' and want to execute this as it was code in a macro.
I know this from another language where I can write eval("varA + varB") becomes 3.
Regards,
Marcel
Is there a command in VBA that executes literal vba code supplied on a variable or as text string?
I'm recieving a textstring from a word document like ' Options.DefaultFilePath(Path:=wdUserTemplatesPath) = "" ' and want to execute this as it was code in a macro.
I know this from another language where I can write eval("varA + varB") becomes 3.
Regards,
Marcel