May 24, 2008 3:47 PM
Posted by: Jerry Lees
DIM,
DIM Statement,
VBScript,
VBScript Statements,
vbscriptstatementsThe DIM statement is used to declare variables prior to being used. To save space in your code, you can declare more than one variable in a single statement by separating each variable with a comma.
For example:
Dim x
Dim x, y, z
The Dim...
May 23, 2008 8:00 PM
Posted by: Jerry Lees
Const,
Const statement,
VBScript,
VBScript Statements,
vbscriptstatementsThe Const statement is useful when you want to reference a specific, unchanging, value in your code multiple times without typing it over and over.
For example, in order to use the Const Statement to create a reference to the value of pi to 50 decimal places, you use...
May 23, 2008 2:39 PM
Posted by: Jerry Lees
cdo.message,
cdo.sys,
cdosys object,
sending e-mails,
sending emailsWriting text files, Word docs, Excel spreadsheets with VBScript is great and all-- but sometimes you just need a process to run and notify you when something happens. (Without remembering to check a file every day.) In fact, sometimes it's nice to walk in and receive an email in your inbox...
May 21, 2008 6:49 PM
Posted by: Jerry Lees
else,
If Then,
IF Then Else,
Logical File,
Then,
VBScript,
VBScript Statements,
vbscriptstatementsThe If/Then/Else statement in VBScript is very similar to the Select Case statement, except it only normally allows for 2 possibilities in your condition. ...
May 14, 2008 8:58 PM
Posted by: Jerry Lees
Disk usage,
Documentation,
Excel.Application,
File System Object,
FSO,
Functions,
Scripting.FileSystemObject,
system trending,
VBScriptIn my previous posting, entitled
May 9, 2008 5:54 PM
Posted by: Jerry Lees
Functions,
VBScript,
VBScript Statements,
vbscriptstatementsThe Select ... Case VBScript statement is a very powerful way to easily preform specific actions based on a comparison of a variable to a series of cases you specify, plus it allows for the fact that NONE of the cases apply with an optional case else...
May 9, 2008 4:28 PM
Posted by: Jerry Lees
Excel.Application,
VBScriptIn my previous two postings we discussed the Microsoft Word.Application object (here and
May 2, 2008 4:15 PM
Posted by: Jerry Lees
DataManagement,
Documentation,
Functions,
Microsoft.XMLDOM,
VBA,
VBScript,
Word.application,
XMLOK, here is the posting I hinted at in my previous posting this week entitled,