J
jeff
Hi,
This may be over the top, but you might try it.
Right-click on your tab name, select view code,
and paste it in.
Jeff
Private Sub Worksheet_SelectionChange(ByVal Target As
Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Application.Intersect(Range("C4:C4"), Target)
Is Nothing Then runMyMacro
End Sub
Sub runMyMacro()
Dim d As Range
Set d = Range("C4")
Select Case d.Value
Case Is = "Airfare"
Range("C5") = "Enter Airline, Flight, Depart,
Destination"
Case Is = "Auto"
Range("C5") = "Do Car"
Case Else
Range("C5") = "Do Other"
End Select
End Sub
into C5 so the user can edit the text, therefor, the
formula can't exist in C5. For Example, if the user
selects Airfare in C4, then I want to display "Enter
Airline, Flight, Depart, Destination".
This may be over the top, but you might try it.
Right-click on your tab name, select view code,
and paste it in.
Jeff
Private Sub Worksheet_SelectionChange(ByVal Target As
Range)
If Target.Cells.Count > 1 Then Exit Sub
If Not Application.Intersect(Range("C4:C4"), Target)
Is Nothing Then runMyMacro
End Sub
Sub runMyMacro()
Dim d As Range
Set d = Range("C4")
Select Case d.Value
Case Is = "Airfare"
Range("C5") = "Enter Airline, Flight, Depart,
Destination"
Case Is = "Auto"
Range("C5") = "Do Car"
Case Else
Range("C5") = "Do Other"
End Select
End Sub
what the user selects in C4. I just want the text entered-----Original Message-----
I have a list in C4 that contains the following items: Airfare, Car Rental, Mileage.
I want to be able to insert text into C5, depending on
into C5 so the user can edit the text, therefor, the
formula can't exist in C5. For Example, if the user
selects Airfare in C4, then I want to display "Enter
Airline, Flight, Depart, Destination".