VBA 126

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
DirsCombo_Read

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

Card image
ScreenRes

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

Card image
EnvVar_All

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

Card image
Reversefile

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

Card image
File_MostRecent

Getting most recent file in a folder

Card image
WaitFor + ShellWait

Tell App to wait for number of seconds and Execute command and wait for it ...

Card image
HardDrivePartitionSN

Get Hard drive SN (old fashioned way) using FileSystemObject

Card image
BrowseFolder

Asks user for a folder tested in VBA of word as well as VBA in Excel

Card image
ListBox_SelectedIndexes

Create list of selected items in MSForms listbox as string separated by | Or ...

Card image
GenerateMemorablePassword

Returns a random password that is easier to remember, such as BONES or LAMOT. ...

Card image
FrmAbout

Display a string in a Userform as 'About' window, can display string or file by ...

Card image
FileDate_Formatted

Using FileDateTime to get file date

Card image
Filter_GotoItem

Allow users to select from list box based on search terms. Have a text box and ...

Card image
ComputerSN

Reads Serial number of the system, also can be used to return System name, ...

Card image
FindIn1DArray

Returns 1 if an item found in array, 0 if not

Card image
Numbers in Textbox

Force textbox to accept numbers only. Needs adjustments to work on VB6