VBA Time function

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Time Function Description

The VBA Time function returns the current system time.

Syntax

The syntax for the Time function in VBA is:

Time()

Parameters

The Time function does not accept any parameters.

Example usage

The Time function can be used in VBA code. Let’s look at some VBA Time function examples:

Time()
'Result: 21:20:00 

Simply the best place to learn Excel VBA