Time Function
Returns a Variant (Date) indicating the current system time.
Syntax
Time
Remarks
To set the system time, use the Time statement.
Example
Note: Examples that follow demonstrate the use of this function in a Visual Basic for Applications (VBA) module. For more information about working with VBA, select Developer Reference in the drop-down list next to Search and enter one or more terms in the search box.
This example uses the Time function to return the current system time.
Dim MyTime
MyTime = Time ' Return current system time.
microsoft office 2016 home & student (1 MAC) (MAC Version) and Get LifeTime License for Word, Excel, PowerPoint, and OneNote. You can store files in the Cloud with OneDrive. OneNote notebooks help you easily organize your notes and find just what you need fast. Share notebooks to simplify group projects. Microsoft Office 2016 Home & Student MAC version productivity software is fully cloud-capable, touchscreen-optimized and accessible via Microsoft Web Apps to allow you to work from anywhere with any device.
ReplyDelete