Establishing directory for batch processing
I have the code for batch processing from a directory from one of the demos. However, when running the code it keeps coming up with an error when it begins the code:
If gDirStart = "" Then 'Error is in this line
gDirStart = "C:\"
The error I am getting is Expecting an existing scalar var.
There is a comment before this line of code stating
' Make certain we have a reasonable starting point. This code is
' only executed the first run after macro compilation. If you have
' a desired standard starting point, initialize the directory
' search here.
Am I supposed to be running something first to set the directory?