Has anyone heard of a way, or even if it's possible to take a Variable, with VB code as the text, and have VB execute it as a function or sub?

Or even maybe Write it to a Module.bas file and have it load and be usable at runtime?


Example:
public sub msgme(txt as string)
msgbox "woo it works"
end sub

would be in a textbox, or a variable, And be able to be loaded up and executed as a subroutine?



~Shagz