Public Function AddIfNotMt(s As Variant, prefix As String, suffix As String) As String
Add the prefix and suffix to the string if the string is not empty
General Formatting Functions
Add the prefix and suffix to the string if the string is not empty
Add text to a control, separated by a delimiter, unless the text is already present. This is useful for adding text from a combo list of selections to a textbox.
Add text to a control, separated by a delimiter, unless the text is already present.
Correct the results of summing separate hour and minute settings.
eg. 2 hrs, 190 min will be corrected to 5 hrs, 10 mins The hour and minute vars are passed ByRef and corrected 'in place'.
If the minute var is less than 60, no changes are made.
Return the collection values as a zero based array of variants
Return the collection values as a delimited string, optionally quoting each element
Display file size formatted to show bytes, kB, MB, GB.
Display hours and minutes in friendly form.
The input vars are variants, and will be coerced to Long before calculating. Also calls AuditTimes() to correct values before calculating.
See if the integer/long is a member of the array of integers Returns the array index matching the integer or -1 if not located.
Get time in the past as a short phrase: eg. today, yesterday, 6 days ago, three weeks ago, 20 months ago
Is the integer/long is a member of the list of integers ?
Make test vertical by placing a return after every letter.
Mainly used prior to Access 2000 when vertical text was not a format option.
Return the number with the correct suffix, eg 1st, 2nd, 3rd, 4th, 5th, etc
Parameter substitution: substitute the passed values for %1, %2 etc in the string
Parameter substitution: substitute the values in the passed array for %1, %2 etc in the string