Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
hmm hmm is offline
external usenet poster
 
Posts: 175
Default Position A2 at top-left of window

What is the code to write in order to scroll so that cell A2 will appear at
the top-left corner of the window?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default Position A2 at top-left of window

With ActiveWindow
.ScrollRow = 2
.ScrollColumn = 1
End With

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"hmm" wrote in message
...
What is the code to write in order to scroll so that cell A2 will appear

at
the top-left corner of the window?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Position A2 at top-left of window

Try

Application.Goto reference:=Range("A2"), scroll:=True



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email on the web site)


"hmm" wrote in message
...
What is the code to write in order to scroll so that cell A2 will appear
at
the top-left corner of the window?



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
change sheet position right to left Aicha Excel Discussion (Misc queries) 4 July 22nd 07 10:04 AM
Select worksheet tab at furthest left position joeski Excel Programming 3 August 28th 06 11:19 PM
Setting left position works in XL 2k and 2002 but.. Peter Ostermann[_3_] Excel Programming 5 May 19th 06 02:41 AM
Window Position & Size [email protected] Excel Discussion (Misc queries) 4 May 18th 05 05:21 PM
Text Box 'Left' position problems... Trevor Williams Excel Programming 1 November 4th 04 06:12 PM


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