Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Highlight active range?

One way

'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.


'----------------------------------------------------------------
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
'----------------------------------------------------------------
Cells.FormatConditions.Delete
With Target
With .EntireRow
.FormatConditions.Add Type:=xlExpression, Formula1:="TRUE"
With .FormatConditions(1)
.Font.ColorIndex = 3
End With
End With
End With

End Sub


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Gordon" wrote in message
...
Hi...

I have an input form 600 rows deep and 35 columns across. Filling it in

can
be tedious. How can I get the active line to highlight the font on all of

the
cells in the active line red. And so no matter were you place the cursor,

all
cells on that row will show red text.

Thanks

Gordon



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
Row select mode to highlight active row of active cell Bart Fay[_2_] Excel Discussion (Misc queries) 0 May 11th 10 09:34 PM
Trying to highlight cells that have the same value as the active c Excel_Rookie Excel Worksheet Functions 9 June 12th 09 02:45 AM
How to highlight active row and column? JMB Excel Programming 0 June 14th 05 06:25 AM
How to highlight active row and column? Ricktaxx Excel Programming 4 April 20th 05 05:37 PM
Highlight Active Cell Db1712 Excel Discussion (Misc queries) 1 November 26th 04 01:14 PM


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