Quote:
Originally Posted by Kalü
This is giving me some error-messages, but I have noticed that you changed the backslash in
{SKIPIF{MERGEFIELD Anz}= "0"}{QUOTE{INCLUDETEXT "{FILENAME \p}\..\sb{MERGEFIELD Anz}.docx"}}
to a double normal slash "//..//sb" and after I changed that in the word doc, the old excel code is running perfectly
|
You will also note I deleted the {SKIPIF{MERGEFIELD Anz}= "0"} - because it's redundant.
Quote:
Originally Posted by Kalü
The only problem remaining is that Excel replaces "." with "_" can I somehow stop that?
|
As I said, you should not have periods in filenames - which is precisely why they get changed by this:
"""*
./\:?|"
I don't have time to work out what your batch file is supposed to do. In any event, whatever that is could be done far more efficiently by the macro for the files it generates.