VBA 122

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 cap
NMACode

Converts all Ƽ found in a string into their actual chars

Card image cap
DelOldFiles

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

Card image cap
Ordinal

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

Card image cap
NumberTextArabic

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

Card image cap
RemoveChars

Removes all chars found in Chars_to_remove from String1

Card image cap
GetTimeZone

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

Card image cap
GetUTC

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

Card image cap
DosCommand_Read

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

Card image cap
AreTheyTheSame

Compares between two files in binary mode and returns true if they are ...

Card image cap
DeleteTree

Deletes tree of files

Card image cap
IsFolder

Returns a Boolean value that indicates if the parameter is a folder.

Card image cap
BinaryFile_Read + BinaryFile_Save

Reads binary file in chunks, if not chuck defined, all file will be red/saved ...

Card image cap
DirsCombo_Read

Read directories in a specified folder into a combobox Needs FrmBr having Cbo1

Card image cap
ScreenRes

Reads screen resolution, using IE this time, this one will get the active ...

Card image cap
EnvVar_All

Read all Environment variables using EnvDir_All Or quickly get user folder, or ...

Card image cap
Reversefile

Reversing a file This tip demonstrates how to reverse a whole file. This ...