#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Positioning

I am interested in positioning a sheet so that D1 is on the left edge
showing and N1 is on the right edge showing. It seems that my old Excel 5
macros for this have changed in Excel 2002.

Any suggestions would be greatfully appreciated,

Roger


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 230
Default Positioning

Roger, are you talking about freezing the panes or something else? Freezing
with D on the left is no problem, but having N be on the right is untenable
because display settings, column widths, and hidden columns will impact ...
and of course, there is the fact that you could scroll past N at any time.

Here is a method for changing what area is viewable, from Norman Jones in
another forum: Search for the key word "scoll area"

http://www.pcreview.co.uk/forums/thread-1058259.php

Basicall, scroll to right so that Col D is on the left
Go into VB Editor (Alt-F11) and click on the sheet in Project explorer
In Properties Window, set Scroll Area property = $D:$N

Note: This will not help you hide O through whatever if the column widths
permit viewing of those columns, however.


Somehow I feel I may be missing what you are saying, if so I ask forgiveness
in advance and for more elucidation from you.

"Roger" wrote in message
...
I am interested in positioning a sheet so that D1 is on the left edge
showing and N1 is on the right edge showing. It seems that my old Excel 5
macros for this have changed in Excel 2002.

Any suggestions would be greatfully appreciated,

Roger



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Positioning

Roger,
Something like:
range("D1:N1").select
activewindow.zoom=true

NickHK

"Roger" wrote in message
...
I am interested in positioning a sheet so that D1 is on the left edge
showing and N1 is on the right edge showing. It seems that my old Excel 5
macros for this have changed in Excel 2002.

Any suggestions would be greatfully appreciated,

Roger




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 230
Default Positioning

Nick, glad you arrived with the correct solution ...

Bill

"NickHK" wrote in message
...
Roger,
Something like:
range("D1:N1").select
activewindow.zoom=true

NickHK

"Roger" wrote in message
...
I am interested in positioning a sheet so that D1 is on the left edge
showing and N1 is on the right edge showing. It seems that my old Excel
5
macros for this have changed in Excel 2002.

Any suggestions would be greatfully appreciated,

Roger






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Positioning

Nick thanks for you solution which works well if I want to shrink my file to
show the parameters I mentioned. This could be useful in the future. My
appologies in not making my request clearer. My sheet is already formatted
so that the area D1 to N1 shows if D1 is in the upper left hand corner of my
screen. In Excel 5 I used 'Application.GoTo Reference:=Range("G3")' to
solve the problem but it doesn't work in my 2002. I hope this is much
clearer.

Many thanks again,
Roger



"William Benson" wrote in message
...
Nick, glad you arrived with the correct solution ...

Bill

"NickHK" wrote in message
...
Roger,
Something like:
range("D1:N1").select
activewindow.zoom=true

NickHK

"Roger" wrote in message
...
I am interested in positioning a sheet so that D1 is on the left edge
showing and N1 is on the right edge showing. It seems that my old Excel
5
macros for this have changed in Excel 2002.

Any suggestions would be greatfully appreciated,

Roger










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
Forms Positioning DUknow Excel Discussion (Misc queries) 0 May 6th 09 01:29 AM
POSITIONING A TOOLBAR FARAZ QURESHI Excel Discussion (Misc queries) 0 September 14th 07 05:26 AM
UserForm positioning to second row z Excel Programming 5 February 4th 05 07:30 PM
= positioning snax500[_2_] Excel Programming 1 June 28th 04 08:24 PM
msgbox positioning Wild Bill[_2_] Excel Programming 4 August 28th 03 06:08 PM


All times are GMT +1. The time now is 10:25 PM.

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"