zoom to a range of cells.

D

Dave B

I want to assign a macro to an autoshape that zooms to a desired range of cells in the same workbook, on the same sheet, and adjusts the zoom automatically, filling my available screen size with the desired cell range. Can this be done
 
R

Ron de Bruin

Try this

Range("b3:g10").Select
ActiveWindow.Zoom = True


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)




Dave B said:
I want to assign a macro to an autoshape that zooms to a desired range of cells in the same workbook, on the same sheet, and
adjusts the zoom automatically, filling my available screen size with the desired cell range. Can this be done?
 
D

Dave B

With a little variation, I was able to get your tip to do exactly what I needed. Thanks a lot

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top