palex
09-27-2014, 08:40 PM
Hello,
A couple of very basic questions for a VBA newbie.
If there is user input, say with the following macro,
Sub Getname()
userName = InputBox(Prompt:="Enter the name you want to be addressed by:")
MsgBox ("Welcome to the presentation, " & userName)
End Sub
How can I display the value of userName in a subsequent slide?
Also, in the event of multiple macros assigning variables via user input, how can I calculate the product of these variables and display the result on a subsequent slide?
Thanks!
A couple of very basic questions for a VBA newbie.
If there is user input, say with the following macro,
Sub Getname()
userName = InputBox(Prompt:="Enter the name you want to be addressed by:")
MsgBox ("Welcome to the presentation, " & userName)
End Sub
How can I display the value of userName in a subsequent slide?
Also, in the event of multiple macros assigning variables via user input, how can I calculate the product of these variables and display the result on a subsequent slide?
Thanks!