Hello,
The file name I want to use is always different, though the directory path name is the same. How can I get the variable to see the same directory path without throwing in the extra quotes? For example, I enter DE000000 for the drawing number.
ScriptFileName = Drawing_Number & ".scr"
When I have this format for the path and file name:
ScriptPathandFile = """S:\DsnTools\Drawing Search Tool\UNIT ARRAY\"" " & ScriptFileName
I get this:
ScriptPathandFile now equals ""S:\DsnTools\Drawing Search Tool\UNIT ARRAY\" DE000000.scr"
Notice the space and quote just before the scr file name.
When I use this format:
ScriptPathandFile = """S:\DsnTools\Drawing Search Tool\UNIT ARRAY\" & ScriptFileName & ""
I get:
ScriptPathandFile now equals ""S:\DsnTools\Drawing Search Tool\UNIT ARRAY\DE000000.scr"
In both cases I get an extra quote at the beginning.
Thanks in advance for your help.
Mark