Uce_team
Jan 11th, 2010, 03:02 AM
Hey,
At work we are "programming" some reports (in know its very basic). We use 1word-file (thats empty) and dépending of the result we insert a different kind of file (negatif, positive etc).
Now everytime i use Inerstfile,..., G:\...\Name of the file
I used that command for more then 50 times (cause there are many different reports)...
So the day that i change the reports of plave i have to change at least 50 lines.
So thats why I wanted to know if their exists a code that i can use, in the beginning of my script, so when i change the location of my reports i just have to change that line once and not at every insertfile that i use.
I hope somebody can help ;)
Greetz
At work we are "programming" some reports (in know its very basic). We use 1word-file (thats empty) and dépending of the result we insert a different kind of file (negatif, positive etc).
Now everytime i use Inerstfile,..., G:\...\Name of the file
I used that command for more then 50 times (cause there are many different reports)...
So the day that i change the reports of plave i have to change at least 50 lines.
So thats why I wanted to know if their exists a code that i can use, in the beginning of my script, so when i change the location of my reports i just have to change that line once and not at every insertfile that i use.
I hope somebody can help ;)
Greetz