How to set 100% view after converting pdf

hobbes11

New Member
Joined
Oct 8, 2017
Messages
18
Each time after I save as pdf using VBA, the zoom size is always more than 100%, how to set 100% always?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Each time after I save as pdf using VBA, the zoom size is always more than 100%, how to set 100% always?
Do you mean that the PDF save increases the size of your excel sheet?
My PDF save line is:
"Selection.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"C:\Dir\Filename" & Format(Date, "yyyymmdd") & ".pdf", Quality:=xlQualityStandard, _
IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:= _
True "

My PDF shows up at 163%. When I close that file my Excel is normal.
Am I understanding you correctly?
 
Upvote 0
It seems that my PDF client has a default of 163%. I can't see how to override that with VBA.
I assume that is much like your position.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top