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, duration hours minute second in high quality that is uploaded to the channel Stral Tech 01 January 1970. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 1,741 times and liked it 13 visitors.