Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Positioning a cell at the top left of the screen

Hello,
Is there a way of selecting a cell and ensuring that the selected cell is
always at the top left of the screen?
Thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 340
Default Positioning a cell at the top left of the screen

You could do

Application.goto activecell, true
activecell.offset(1,1).select
activewindow.freezepanes = true

Bob Flanagan
Macro Systems
Delaware, U.S. 302-234-9857
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Ben" wrote in message
...
Hello,
Is there a way of selecting a cell and ensuring that the selected cell is
always at the top left of the screen?
Thank you



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Positioning a cell at the top left of the screen

Hi Ben,

Try these:
ActiveWindow.ScrollRow = 3
ActiveWindow.ScrollColumn = 3

Best Regards,
Walt Weber

"Ben" wrote:

Hello,
Is there a way of selecting a cell and ensuring that the selected cell is
always at the top left of the screen?
Thank you

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Positioning a cell at the top left of the screen

Oops! That should be:

ActiveWindow.ScrollRow = Activecell.Row
ActiveWindow.ScrollColumn = Activecell.Column

Best Regards,
Walt Weber

"Walt" wrote:

Hi Ben,

Try these:
ActiveWindow.ScrollRow = 3
ActiveWindow.ScrollColumn = 3

Best Regards,
Walt Weber

"Ben" wrote:

Hello,
Is there a way of selecting a cell and ensuring that the selected cell is
always at the top left of the screen?
Thank you

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 690
Default Positioning a cell at the top left of the screen

One way...

Application.Goto ActiveCell, True

HTH :)
--
Dana DeLouis
Win XP & Office 2003


"Ben" wrote in message
...
Hello,
Is there a way of selecting a cell and ensuring that the selected cell is
always at the top left of the screen?
Thank you



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
can i put sheets on the left and right of my screen Steve Excel Discussion (Misc queries) 1 December 15th 08 07:49 AM
Hyperlink Destination Positioning On Screen Mike Rice Excel Worksheet Functions 0 November 8th 06 05:27 PM
Scroll a cell to the top left hand corner of the screen Daveh Excel Discussion (Misc queries) 2 August 30th 06 05:17 PM
Move Cell to Top/Left Position on Screen Phil Hageman[_3_] Excel Programming 4 January 10th 04 07:24 PM
Moving the Active cell to the left of the screen Dave Bash Excel Programming 1 December 17th 03 04:11 PM


All times are GMT +1. The time now is 03:57 PM.

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

About Us

"It's about Microsoft Excel"