Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default 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!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default 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!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeze in the middle of a spreadsheet. Crashhot Excel Discussion (Misc queries) 7 April 3rd 23 07:40 PM
Center displayed columns in middle of window dgold82 Excel Programming 3 June 5th 09 04:49 PM
VBA to center Selected Cell in Current Window [email protected] Excel Programming 2 March 23rd 09 06:02 PM
how do i center the worksheet in the viewing window? Tripp Excel Discussion (Misc queries) 0 March 2nd 07 03:02 PM
How to move pictures to the center of window? tskogstrom Excel Programming 1 August 27th 06 09:14 PM


All times are GMT +1. The time now is 01:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"