Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Highlight row

Thanks....I so totally didn't notice that.

"Tom Ogilvy" wrote:

The CHANGE event requires a change in the cell. The suggestion was to use
the SELECTIONCHANGE event which does what you want.

--
Regards,
Tom Ogilvy

"Jimbola" wrote in message
...
This is close but it relies on a change being made to the
cell for it to work. I want the row to be highlighted if
you select it using the mouse or cursor keys

-----Original Message-----
If I read you correctly, you want to select the row for
the cell being made active if that cell is in Column I.

Try this:

Private Sub Worksheet_SelectionChange(ByVal Target As
Range)
If Target.Column = 9 Then
Rows(Target.Row).Select
End If
End Sub

tod
-----Original Message-----
Hi,

I want an entire row to be highlighted (aka selected, as
if clicking on the row number) if I click any cell in
column I. I Know how to select a cell and how to
highlight
a row and how to use the worksheet change event. But not
how to say highlight the row with the cell row number.

Any help would be greatly appreciated.
.

.




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
how to highlight more related cells if cell highlight Jon Excel Discussion (Misc queries) 5 December 21st 08 01:06 PM
Highlight every other row Bri Excel Discussion (Misc queries) 2 April 5th 06 03:50 PM
highlight row Benjamin Excel Discussion (Misc queries) 6 November 5th 05 05:37 PM
Highlight cells with ctrl-click but only un-highlight one cell hagan Excel Discussion (Misc queries) 5 May 27th 05 06:45 PM
highlight row Frank Kabel Excel Programming 0 July 21st 04 07:57 AM


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