Documentos de Académico
Documentos de Profesional
Documentos de Cultura
com/guardar-hojas-en-archivos-pdf-en-excel-usando-vba-y-macros/
video adicional
Option Explicit
'
'EXCELeINFO
'http://www.exceleinfo.com
'https://www.youtube.com/user/sergioacamposh
'http://blogs.itpro.es/exceleinfo
'
Sub GuardarHojasComoPDF()
With Application.FileDialog(msoFileDialogFolderPicker)
.Show
If .SelectedItems.Count = 0 Then
'Nada
Else
Ruta = .SelectedItems(1)
NombreArchivo = Hoja.Name
Hoja.ExportAsFixedFormat Type:=xlTypePDF, _
'Else
'Nada
'End If
Next Hoja
End If
End With
End Sub