Excel VBA
Get current user name
For a computer that is not joined to a domain (Computer Username) Sub Get_Username() 'Get the e...
Add Worksheet if it does not exist
Add a worksheet titled "Data" if it doesn't exist and ignore adding if it already exists Sub Add...
High Precision Timer using Windows API
High Precision Timer using Windows API Private Declare PtrSafe Function QueryPerformanceCounter ...
Get user desktop and make a folder
Get user desktop and make a folder Dim DeskTop As String Dim WSH As Object Dim GetDesktopP...
Delete a worksheet
To delete a worksheet titled "Data" Sub DeleteSheet() Application.DisplayAlerts = False 'Rep...
Detect OS Type
Used to detect if OS Type is Windows or macOS Sub GetOSType() 'Get the OS that I am running...