How can I get a caption of a button?
i.e.
msgbox WebBrowser1.Document.Forms(6).submit.value
Thanks in advance!
Printable View
How can I get a caption of a button?
i.e.
msgbox WebBrowser1.Document.Forms(6).submit.value
Thanks in advance!
I don't know exactly what you want, but to display the caption of a command button in a message box, type:
MsgBox Command1.Caption
This is assuming that the button is called Command1
Martin
:p (UK)
I know that!
I mean in a webbrowser!
I.E. msgbox WebBrowser1.Document.Forms(6).submit.caption ?
The caption of any button is it's value so access the value property not caption.
Thanks, I succeded that one on my own (oh, I'm so proud!).