VBA 146

Visual Basic for Application (or macros) in most applications. Code here can also be used in VBA-Excel
Sorted from new to old.
Card image
RGB2HTML + HTML2RGB

Converts RGB color to / from HTML format As bonus, functions RGB_ExtractColor ...

Card image
CreateFullTree

Creates full tree if not found

Card image
DuplicateFileName

Generates new available file name for a certain file in order to duplicate it, ...

Card image
oShellRun1

Runs a WScript.Shell command with wait until finish and returns 0, 1, 2 or -1 ...

Card image
Num2En

Convert number to English words, convert 450 to 4 hundreds and fifty dollars

Card image
XorC

Simple small function to Encrypt or Decrypt a string Test_XorC is for testing ...

Card image
SharePointURL2Path + Path2SharePointURL

Converts SharePoint URL to regular folder path and the other way, giving the ...

Card image
DeleteAllFiles

Delete All Files in a Folder. Needs a reference to Microsoft Scripting Runtime

Card image
NMACode

Converts all Ƽ found in a string into their actual chars

Card image
DelOldFiles

Delete files in a specified folder which are older than x days This code ...

Card image
Ordinal

Get a Number Suffix They allow you to turn 1 into 1st, 2 into 2nd, etc. giving ...

Card image
NumberTextArabic

Adds Arabic unit to a number using proper Arabic grammar Units can be ...

Card image
RemoveChars

Removes all chars found in Chars_to_remove from String1

Card image
GetTimeZone

Get local timezone Uses w32tm / tz dos command in command prompt Using ...

Card image
GetUTC

Get the time and date in Universal time based on local time Uses w32tm / tz ...

Card image
DosCommand_Read

Get output of DOS Command in string, by reading output into temp text file, ...