VBA 134

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

Card image
RGB2Long

Converts Red, Green and Blue integers into RGB long value

Card image
RoundUp

Rounds a number up, like Excel function RoundUP

Card image
CutRightString

Cuts a string from a string FROM RIGHT starting from specific character and ...

Card image
CopyText2Clipboard

Copies text to clipboard using MSForms

Card image
ANStrColor2RGB + RGB2ANStrColor

Converts R:G:B into RGB value (as long) and RGB from long into R:G:B

Card image
CutString3_Search

Using same code in CutString3, this will search for matching items. Searches ...

Card image
CutString3

Cuts a string from a larger one using separators.
Ex, CutString3("Will ...

Card image
Number_Formatted

Format the number as ' <1000 = 1,2,55, 85, 989 ' <1000000 = 1K, ...