Visual Basic Notes
Various notes that will generally apply to VBA, VBScript, ASP, their .Net counterparts, and possibly other related languages.
- to spread a line of code over multiple lines of text, use a [space] followed by an underscore. Then continue the line on the next line.
- Sample to define optional parameter:
Function dhFirstDayInMonth( Optional dtmDate As Date = 0) _ As Date
- A great big collection of VB samples:
http://www.mvps.org/vb/index2.html?samples.htm - Another collection of Free Visual Basic Source Code
http://www.freevbcode.com/ShowCode.asp?ID=3539