#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Active Cells

Many thanks..problem sorted!

"Bob Umlas" wrote:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Range("A1").Value = Target.Row
End Sub

"Steve" wrote in message
...
I note from a previous post that an active cell's reference can be
displayed
by inserting some code, as follows:

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Range("A1").Value = Cells(Target.Row, Target.Column).Address(False, False)
End Sub

If I wish to show only the Active Cell's line number, how should this code
be changed? Does inserting code like this mess up the Undo function?




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
Select Active Cells Umbu Excel Worksheet Functions 0 June 24th 08 02:03 PM
Change color of active cells Steph Excel Discussion (Misc queries) 1 March 19th 07 07:30 PM
How to make only the cells i need active debs1389 Excel Worksheet Functions 3 May 13th 06 07:49 PM
Clearing all Active Cells JohnHill Excel Worksheet Functions 2 July 26th 05 06:30 AM
Counting only active cells Sac73 Excel Discussion (Misc queries) 16 April 4th 05 05:49 AM


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