ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Center spreadsheet in middle of window (https://www.excelbanter.com/excel-programming/432570-center-spreadsheet-middle-window.html)

dgold82[_2_]

Center spreadsheet in middle of window
 
I would like to center my displayed columns in the middle of my window
instead of the current position on the left. Most of the columns on my
worksheets are either hidden or deleted which leaves a couple inches
to the right of the worksheet empty on my screen.

Is there a way to center the displayed columns without expanding them
or manipulating the worksheet? Perhaps with VBA?

It's just a little thing, but it's like looking at a website that is
not centered on your screen when IE is maximized. It works fine, just
is a little annoying. Thanks!

Chip Pearson

Center spreadsheet in middle of window
 
See http://www.cpearson.com/Excel/zoom.htm#center for some example
VBA code to center a range of cells in the active window.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


On Tue, 18 Aug 2009 11:45:48 -0700 (PDT), dgold82
wrote:

I would like to center my displayed columns in the middle of my window
instead of the current position on the left. Most of the columns on my
worksheets are either hidden or deleted which leaves a couple inches
to the right of the worksheet empty on my screen.

Is there a way to center the displayed columns without expanding them
or manipulating the worksheet? Perhaps with VBA?

It's just a little thing, but it's like looking at a website that is
not centered on your screen when IE is maximized. It works fine, just
is a little annoying. Thanks!



All times are GMT +1. The time now is 03:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com