Hello,

I was writing a few learners codes at work (such as activating message & input boxes), and everything works fine when I close and reopen a workbook.

I tried for the first time at home on two new computers (windows XP home edition), and it doesn't work. The only thing that does happen, is the enable/disable message box comes up, but not my programmed message box.

Sub GetName()
returnvalue = InputBox("Enter Name", "Information")
Sheets("1").Range("B1") = returnvalue
End Sub


Note: My macro security is set to medium. At work, our Engineers program things all the time, and maybe something is set to cause the vba codes to work.
What am I overlooking on my machines?

Thanks