Controlar el zoom de pdf al convertirse rango de excel
Tengo el siguiente código que convierte un rango de excel a pdf
Pero me gustaría anexarle el zoom que salga a 150
Application.DisplayAlerts = False
Application.ScreenUpdating = False
'
Set h2 = Sheets(Hoja2.Name)
wpath = ThisWorkbook.Path & "\"
nombre = h2.Name & [F7]
u = h2.Range("B" & Rows.Count).End(xlUp).Row 're-impresion
h2.PageSetup.PrintArea = "$A$2:$H$" & u 're-impresion
'actPrnt = Application.ActivePrinter 'IMPRESION're-impresion
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, _
Filename:=wpath & nombre & ".pdf", _
Quality:=xlQualityStandard, _
IncludeDocProperties:=True, _
IgnorePrintAreas:=False, _
OpenAfterPublish:=True
MsgBox "PDF generado con exito!", vbInformation, "REPORTE DE ASISTENCIAS"
DoEvents
' Kill wpath & nombre & ".pdf"
'Kill ruta & h1.Name & ".xlsx"
DoEvents
1 respuesta
Respuesta de Abraham Valencia
2
