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

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
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,215,963
Messages
6,127,959
Members
449,412
Latest member
montand

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