Remove the underscore _ from a objects caption.
Remove the underscore _ from a objects caption.
API Declarations
Be sure to add a underscore to the button's caption to see result!.
Rate Remove the underscore _ from a objects caption.
(1(1 Vote))
'
' Use button's caption in message box caption but remove button's underscore.
'
Dim X As String
Dim ButtonCaption As String
X = Command1.Caption
X = Replace(X, "&", " ")
ButtonCaption = X
'
MsgBox "See, the underscore is gone.", , "" & ButtonCaption
'
End Sub
Remove the underscore _ from a objects caption. Comments
No comments yet — be the first to post one!
Post a Comment