EXCEL VBA | Display the current date and time in a message box !

Published: 01 January 1970
on channel: Stral Tech
1,741
13

Display the current date and time in a message box with Excel VBA!

In this short tutorial we will place a command button on the spreadsheet and add the code: MsgBox (Now)

By using the "Now" function we will get the current date and time.

To execute the code lines, click the command button on the sheet.
The command button can be renamed (right click, CommandButton Object, Edit).


Watch video EXCEL VBA | Display the current date and time in a message box ! online without registration, duration hours minute second in high quality. This video was added by user Stral Tech 01 January 1970, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,741 once and liked it 13 people.