Command Button to stamp a date and time in a textbox in Outlook 2016

Joe732

New Member
Outlook version
Outlook 2016 32 bit
Email Account
Outlook.com (as MS Exchange)
#1
Hi I am creating a fallible form in Outlook 2016. I am trying to create a command button that will enter the current date and time in a textbox.
 

Joe732

New Member
Outlook version
Outlook 2016 32 bit
Email Account
Outlook.com (as MS Exchange)
#3
Thanks for the response I am trying to use the VB code to work the command button and I keep getting the error "Only comments may appear after End Sub, End Function, or End Property".

Sub CommandButton3_Click()

End Sub
TextBox.datestamp.Value = Now() "It Highlights the Now"
End With


Sub signauture()

End Sub
 
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
#4
The three bolded lines don't belong.

Sub CommandButton3_Click()

End Sub
TextBox.datestamp.Value = Now() "It Highlights the Now"
End With

Sub signauture()

End Sub
 
Last edited:
Top