can u run code from inside a text box

if you have the code

Msgbox Text1.text

and in the TextBox you have the word now then the word not is displayed in the message box. I want the time to be displyed in the Message Box

I know I can do a MsgBox Now but I want it to grab and run the code from in the textbox