Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA code to make CUSTOM VIEW fill ANY RESOLUTION SCREEN

I am trying to get VBA code to make an Excel CUSTOM VIEW that fills
the screen on a low resolution monitor, also (more or less), fill the
screen on a high or medium resolution monitor.
I a getting pretty desparate now!
Can anybody PLEASE help?

Darryl

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default VBA code to make CUSTOM VIEW fill ANY RESOLUTION SCREEN

Hi Darryl

This will fill any Excel window, regardless of window state and screen
resolution, with Columns A to H:

Sub ZoomUs()
Columns("A:H").Select
ActiveWindow.Zoom = True
ActiveCell.Select
End Sub

--
HTH. Best wishes Harald
Followup to newsgroup only please

"www.ttdown.com" skrev i melding
...
I am trying to get VBA code to make an Excel CUSTOM VIEW that fills
the screen on a low resolution monitor, also (more or less), fill the
screen on a high or medium resolution monitor.
I a getting pretty desparate now!
Can anybody PLEASE help?

Darryl



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VBA code to make CUSTOM VIEW fill ANY RESOLUTION SCREEN

Dear Harald

Thanks so much for the reply and the neat code that does exactly what I
asked.

UNFORTUNATELY I did not word my request well.

I have a very large spreadsheet that uses code to navigate to any one of
about 200 CUSTOM VIEWS.

Each custom view is the same size as any other but each contains
different data for different people.

Everything worked fine until I loaded a demo onto my boss's computer.

He has a much higher res screen so my precisely defined block of data
ends up as a tiny square on his screen.

I need code that will make a block of cells defined by the "View",
"Custom View", menu command as say "Employee_47_Month_November"
reasonably fill any screen whether 640x480 or 1600x1280. Doesn't have to
fill exactly, as long as all cells in the custom view are visible.

I am begining to wonder if it is possible.?????

Thanks again Harald

Darryl




*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
view cell fill colour on screen nezzer Excel Discussion (Misc queries) 1 May 12th 10 08:14 PM
Excel 2003 rdp screen resolution Stefan Triep Excel Discussion (Misc queries) 0 October 15th 07 12:45 PM
How to get fixed size for every screen resolution? chartSize Charts and Charting in Excel 0 October 5th 06 03:36 AM
Screen Area Resolution CJ[_4_] Excel Programming 3 December 5th 03 12:37 AM
How to change resolution of monitor/screen Glen Mettler Excel Programming 1 November 19th 03 02:37 PM


All times are GMT +1. The time now is 08:09 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"