I recorded a macro in word to save the file as pdf and modified. Imprimir por id o guardar en archivos pdf desde excel con. In the example file we have 6 sheets with different names, and we want to create 6 pdf files based on those sheets. Option explicit sub combinar declaramos variables dim marchivo as variant, fdocument as document dim miexcel as string, target as variant, obsql as string dim cnn as object, dataread as object, filas as long. We also have a folder called pdf in documents, which will be the folder where we. With more than 100 handy word addins, free to try with no limitation in 30 days. Guardar archivos excel como pdf y xps aboutespanol. Saving word document as pdf using excel vba stack overflow. En este tutorial vamos a explicar como crear y ejecutar una macro en word. Manejar word desde excel todoexcel expertos en excel. Guardar userform como pdf formacion y consultoria en excel. If vba code is hard to handle, you can try the convert documents utility of kutools for word to solve the problem. Mar 20, 2018 in the example file we have 6 sheets with different names, and we want to create 6 pdf files based on those sheets. How to batch convert multiple word documents to pdf files.
844 949 1308 981 1379 1260 1537 619 1604 373 1211 1465 1531 676 137 1318 38 1105 492 644 756 93 1391 1343 1183 556 186 1121 1286 665 1071 1617 213 1655 195 862 1534 55 1002 30 1158 26 1085 55 852 479 35 511 1293