Dave
Spaces often matter in VBA. In the case of the Shell Environ line, we are essentially running the equivalent of a dos command via a command prompt. In that context a space would separate a new parameter rather than a part of a single parameter.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|