Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Screen scrolling to show active cell

In VBA code, when I activate or select a cell outside the visible screen
area, the cell is set but the screen is not scrolled to the active cell to
show it. I have not been able to find any command that will bring the active
cell into view.

If my screen shows rows 1-20 and columns A-P and the active cell is A1, and
I execute code Range("AZ302").Select or Range("AZ302").Activate, my screen
still shows rows 1-20, columns A-P, cell A1 is not active, cell AZ302 is
active.

How do I get the active cell to be in the visible portion of the screen?
--
WEW
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Screen scrolling to show active cell

You are going to kick yourself...

Activecell.Show

--
HTH...

Jim Thomlinson


"AlForester" wrote:

In VBA code, when I activate or select a cell outside the visible screen
area, the cell is set but the screen is not scrolled to the active cell to
show it. I have not been able to find any command that will bring the active
cell into view.

If my screen shows rows 1-20 and columns A-P and the active cell is A1, and
I execute code Range("AZ302").Select or Range("AZ302").Activate, my screen
still shows rows 1-20, columns A-P, cell A1 is not active, cell AZ302 is
active.

How do I get the active cell to be in the visible portion of the screen?
--
WEW

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Screen scrolling to show active cell

Thanks. Yes, some tasks are easier than expected.
--
WEW


"Jim Thomlinson" wrote:

You are going to kick yourself...

Activecell.Show

--
HTH...

Jim Thomlinson


"AlForester" wrote:

In VBA code, when I activate or select a cell outside the visible screen
area, the cell is set but the screen is not scrolled to the active cell to
show it. I have not been able to find any command that will bring the active
cell into view.

If my screen shows rows 1-20 and columns A-P and the active cell is A1, and
I execute code Range("AZ302").Select or Range("AZ302").Activate, my screen
still shows rows 1-20, columns A-P, cell A1 is not active, cell AZ302 is
active.

How do I get the active cell to be in the visible portion of the screen?
--
WEW

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
Displaying active cell in particular position on screen MJKelly Excel Programming 4 April 19th 08 07:17 PM
Screen does not scroll as active cell moves down the page KimC Excel Discussion (Misc queries) 3 May 8th 07 06:45 PM
how do I keep the active cell or row in the middle of the screen RLD7 Excel Discussion (Misc queries) 1 April 19th 06 03:05 PM
Active cell moves off the screen John W. Excel Discussion (Misc queries) 1 November 15th 05 11:12 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 04:10 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"