ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Exel dialogbox/dialogboks (https://www.excelbanter.com/excel-discussion-misc-queries/65846-exel-dialogbox-dialogboks.html)

Anders Mortensen

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

Gary L Brown

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

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

MsgBox strInput

End Sub
'/==================================/
--
Gary Brown

If this post was helpful, please click the ''Yes'' button next to ''Was this
Post Helpfull to you?''.


"Anders Mortensen" wrote:

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



All times are GMT +1. The time now is 10:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com