Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 267
Default zoom in on range

Im wishing to create a zoom button to zoom in on a preset range when clicked.

i have tried using the zoom command but this seems only to function with
objects not ranges and i dont want to use best fit because resizing the cells
is gonna cause one hell of a lot of probs!!

Anyone got any ideas
the range I want to zoom in on is A3:U31

i am hoping then to replace the zoom button with a zoom out button to
reverse the process
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default zoom in on range

Try this simple macro:

Sub Macro1()
ActiveWindow.Zoom = True
End Sub


--
Gary''s Student - gsnu200790


"Atishoo" wrote:

Im wishing to create a zoom button to zoom in on a preset range when clicked.

i have tried using the zoom command but this seems only to function with
objects not ranges and i dont want to use best fit because resizing the cells
is gonna cause one hell of a lot of probs!!

Anyone got any ideas
the range I want to zoom in on is A3:U31

i am hoping then to replace the zoom button with a zoom out button to
reverse the process

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
Please help! Print Preview Zoom is Grayed Out...Doesn't zoom. PK Excel Discussion (Misc queries) 0 July 20th 09 03:33 PM
zoom in &zoom out in VBA User Form [email protected] Excel Programming 0 January 21st 08 04:59 AM
prevent range names showing at low zoom values in excel djbz Excel Discussion (Misc queries) 0 April 5th 06 03:12 PM
Zoom a range without actually selecting it Staging2000 Excel Programming 2 February 20th 06 03:05 AM
zoom to a range of cells. Dave B[_6_] Excel Programming 2 November 25th 03 07:51 PM


All times are GMT +1. The time now is 11:05 AM.

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

About Us

"It's about Microsoft Excel"