Exel dialogbox/dialogboks

A

Anders Mortensen

I can create an dialog box. But how do I use it?
Jeg kan lave en dialogboks, men ved ikke hvordan jeg bruger den?
 
G

Gary L Brown

Does this help?
'/==================================/
Sub test()
Dim strInput As String

strInput = InputBox(Prompt:="Enter a name: ", _
Title:="Test...", Default:="Gary")

MsgBox strInput

End Sub
'/==================================/
 
Top