Hi,<br><br>Can any one help how to use macro variables in visual basic. I can tell a example using Visual Foxpro code. Same thing I wanted to do in Visual Basic.<br><br> x = "messagebox('Hello')"<br> y = &x<br> <br> after executing the second line you will get a message box saying that hello on the screen.<br><br>Can anyone help me how to do this in VB<br><br>Logamoorthy