Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I use a macro that generates PDFs in a loop via QlikView Pdf printer. This macro works fine on my local machine. As soon I copy this file to the server and open it from the "source server" it prints the first pdf in the loop, then I get an macro has no functionality error.
Anyone an idea why this is happening?
(Server Version is 8.5)
Thanks in advance.
Regards
Aloah
Hi,
it seems that the line "ActiveDocument.GetApplication.Sleep 1000" causes the problem.
If I remove this timer only the last PDF in the loop is generated. I guess the printer can't handle that much jobs with no break.
So anyone an idea how I can insert a break instead of the approach above?
Thanks
I would try ActiveDocument.GetApplication.WaitForIdle. Might work.
Hi.
tried WaitforIdle, runs without errors, but doesn't print all pdfs.
Is this a security issue? Anyone with a similiar problem (and a solution 😉 )