PC Review


Reply
Thread Tools Rate Thread

Change the formatting of row by select a single cell & Editing should be working

 
 
Vikky
Guest
Posts: n/a
 
      17th Jan 2007
Hi All;

I require such a sheet code which can help me in Changing the
formatting of row (like A1:A25) of selected cell (A4 is Selected) and
allow me to use editing (Cut, Copy, Paste, Undo etc).


Currently I'm Using following code but this does not allow me to use
editing (Cut, Copy, Paste, Undo etc) and I can not decide the range for

working this sheet code.


Any kind help is appreciated.


Private Sub Search_Click()
Sheets("Quick Search").Visible = True
ActiveWindow.SelectedSheets.Visible = False
Sheets("Quick Search").Select
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim MyRng As Range
Set MyRng = Target.EntireRow
Application.EnableEvents = False
On Error GoTo end1
Application.Cells.FormatConditions.Delete
With MyRng
.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=ROW()=ROW(INDIRECT(CELL(""address"")))"
With .FormatConditions(1).Font
.Bold = True
.Italic = True
.ColorIndex = 1
End With
.FormatConditions(1).Interior.ColorIndex = 43
End With
end1:
Application.EnableEvents = True
End Sub


Thanks

Vikky

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing Single Cell on GridView jack Microsoft ASP .NET 5 14th Sep 2007 01:25 PM
Select a single record from a subform for editing. =?Utf-8?B?SnVzdGluODM3MTY=?= Microsoft Access Form Coding 6 12th Mar 2007 08:03 PM
Change the formatting of row by select a single cell & Editing should be working Vikky Microsoft Excel Discussion 1 17th Jan 2007 01:46 PM
Change the formatting of row by select a single cell & Editing should be working Vikky Microsoft Excel Discussion 0 12th Jan 2007 07:03 PM
I cannot select a single cell or pull down cell contents =?Utf-8?B?Q2Fyb2x5biBGYWht?= Microsoft Excel Worksheet Functions 0 24th Jan 2006 04:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:37 PM.