View Single Post
 
Old 05-06-2019, 05:00 AM
eduzs eduzs is offline Windows 10 Office 2010 32bit
Expert
 
Join Date: May 2017
Posts: 266
eduzs is on a distinguished road
Default

I suspect the problem is not the IF statement, but this part has no effect after 1st run:
Quote:
With ActiveWindow.ActivePane.View.Zoom
.PageColumns = 5
.PageRows = 2
End With
__________________
Backup your original file before doing any modification.
Reply With Quote