Excel display ruler question

Pinaceous

Well-known Member
Joined
Jun 11, 2014
Messages
1,124
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I'm using Excel's display option in using its ruler feature.

My question is, how do I lock the (columns/resize the columns) ie. Columns A:T to remain on one page?

I've noticed that when I log onto several different computers with its own printer the columns sometimes drift, which expands the (printed page/page layout).

Any suggestions in vba on how I can accomplish this?

Thanks,
Pinaceous
 
Last edited:
Page Layout > Page Setup, Page, Fit to 1 page(s) wide
 
Upvote 0
All right I guess if that is the only way.

I've closed my ribbon, so I thought there might be a code in lieu of.

I'll record one then see if it works on with my ribbon.

Thank again!

Paul
 
Upvote 0
It's not the only way, it's just a way to learn the object model.
 
Upvote 0
Hi shg,

It worked. I had to change my sequence around and show the headers for it to work but it did finally.

Thanks again!
Paul
 
Upvote 0

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