Hi All,
I have a question for you and hope someone has already figured out the issue I am having.
I am trying to automate some tasks in Acrobat using JSObject and VBA - or, VB -, and while everything seems to be working, I can't convert PDF I am working with to JPEG, using method saveAs of JSObject.
Not only I get an "Application defined or object-defined error", VB editor keeps changing "saveAs" to "SaveAs" in the line that gives me the error and I am not sure if that is the reason.
I have looked on the Web, but haven't found one confirmed solution to this problem. So, if anybody could provide a line - or lines - of working VB code, which invokes this method, I'd really appreciate it.
I am using something like this:
jso.saveAs "/D/Temp/" & fName & ", com.adobe.acrobat.jpeg"
or something like that:
jso.saveAs "D:\Temp\" & fName & ", com.adobe.acrobat.jpeg"
with the same result.
Thank you
I have a question for you and hope someone has already figured out the issue I am having.
I am trying to automate some tasks in Acrobat using JSObject and VBA - or, VB -, and while everything seems to be working, I can't convert PDF I am working with to JPEG, using method saveAs of JSObject.
Not only I get an "Application defined or object-defined error", VB editor keeps changing "saveAs" to "SaveAs" in the line that gives me the error and I am not sure if that is the reason.
I have looked on the Web, but haven't found one confirmed solution to this problem. So, if anybody could provide a line - or lines - of working VB code, which invokes this method, I'd really appreciate it.
I am using something like this:
jso.saveAs "/D/Temp/" & fName & ", com.adobe.acrobat.jpeg"
or something like that:
jso.saveAs "D:\Temp\" & fName & ", com.adobe.acrobat.jpeg"
with the same result.
Thank you