Hi All,
I am having some trouble implementing some changes to a script I have found which prints a work sheet to a pdf printer. I have implemented a change, which saves the pdf under a name generated from the content of 2 cells. This change I have implemented fine. However now the code keeps getting stuck in a loop, here;
This line also does not fire correctly;![]()
Please Login or Register to view this content.
If there is a file already named the same it just skips over it and continues with the script regardless.![]()
Please Login or Register to view this content.
I have stepped though both scripts adapted/non adapted and I just can't work out why its getting stuck in the loop.
Link to pdfcreator;![]()
Please Login or Register to view this content.
http://sourceforge.net/projects/pdfcreator/
Any help would be wonderful.
Thanks!
Bookmarks