Row hight Conditionaly

maftoun

New Member
Joined
Apr 28, 2009
Messages
22
I have report and actual date of a transaction. I want row auto highlight when I enter actual date of transaction, and get off when I enter repot date of transaction. Could you please help me?
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p> </o:p>
Thanks
 
Without a screenshot, I'm still confused, but this is my best guess.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
Select Case Target.Column
Case 3
   Application.EnableEvents = False
   Cells(Target.Row, "A") = "Pending"
   Cells(Target.Row, "A").Interior.ColrIndex = 6
   Applcation.EnableEvents = True
Case 1
   If IsDate(Target) Then Target.Interior.ColorIndex = xlNone
Case Else:
End Select
End Sub

lenze
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Hi Lenze

I cannot to insert screen shoot. Thanks. on developer view there are few pages where in have to put your code

Thans
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,259
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top