Horje
if inputbox cancel vba Code Example
if inputbox cancel vba
Private Sub test()
    Dim result As String
    result = InputBox("Enter Date MM/DD/YYY", "Date Confirmation", Now)
    If StrPtr(result) = 0 Then
        MsgBox ("User canceled!")
    ElseIf result = vbNullString Then
        MsgBox ("User didn't enter anything!")
    Else
        MsgBox ("User entered " & result)
    End If
End Sub




Vb

Related
vba remove first 2 characters from string Code Example vba remove first 2 characters from string Code Example
perform http request in vb.net Code Example perform http request in vb.net Code Example
excel vba check if string entirely alpha Code Example excel vba check if string entirely alpha Code Example
excel vba check if key is in collection Code Example excel vba check if key is in collection Code Example
excel vba Populating a combobox on a userform from a range of cells Code Example excel vba Populating a combobox on a userform from a range of cells Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8