Thanks for your help. However, the same problem appeared when it got to the line 'Set appDist = New cACrodist'. I think it actually has the same problem as before because, in the Class Object, the same line, ' Set odist = New PdfDistiller' was used.
I think the problem is VB recognises PdfDistiller as a class object when you are defining it, however, it doesn't function in the way what a class object should do when the program is running.
Actually, I have been searching for the solution for quite a while and there were one to two similar questions back to 2004. Nevertheless, no one has answered those questions. I really hope you or someone in the forum would be able to help. Thank you.
Best regards,
Derek
Bookmarks