Assign value to variable

Does anyone know how to assign a value to a variable via macro … …
example: I start the macro and I should bring out a window that I
asks to enter the value of my variable.
Thank you
Hello