Return to VBA Code Examples

VBA Minute Function

Minute Description

Returns the minutes (a number from 0 to 59) from a time value.

Simple Minute Examples

Here is a simple Hour example:

This code will return 25.

Minute Syntax

In the VBA Editor, you can type  “Minute(” to see the syntax for the Minute Function:

The Minute function contains an argument:

Time: A valid time.

Examples of Excel VBA Minute Function

Result: 33

Result: 12

Result: 48

Result will be the minute of the current system time.

VBA Coding Made Easy

Stop searching for VBA code online. Learn more about AutoMacro - A VBA Code Builder that allows beginners to code procedures from scratch with minimal coding knowledge and with many time-saving features for all users! vba save as


Learn More!