C
Calle
Hi!
I have this script which reads my choice from a drop down list and displays
the choice in another cell. How can I modify it so it display the result in a
cell in another worksheet in the document?
script:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim myRng As Range
Set myRng = Me.Range("I13")
With Target
If .Cells.Count > 1 Then Exit Sub
If Intersect(.Cells, myRng) Is Nothing Then Exit Sub
If .Value = "" Then Exit Sub
Select Case LCase(.Address(0, 0))
Case Is = "i13"
If LCase(.Value) = LCase("click here to choose doortype") Then
'skipit
Else
Application.EnableEvents = False
Me.Range("G14").Value = Me.Range("G14").Value & .Value
..ClearContents
Application.EnableEvents = True
End If
.....
I have this script which reads my choice from a drop down list and displays
the choice in another cell. How can I modify it so it display the result in a
cell in another worksheet in the document?
script:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim myRng As Range
Set myRng = Me.Range("I13")
With Target
If .Cells.Count > 1 Then Exit Sub
If Intersect(.Cells, myRng) Is Nothing Then Exit Sub
If .Value = "" Then Exit Sub
Select Case LCase(.Address(0, 0))
Case Is = "i13"
If LCase(.Value) = LCase("click here to choose doortype") Then
'skipit
Else
Application.EnableEvents = False
Me.Range("G14").Value = Me.Range("G14").Value & .Value
..ClearContents
Application.EnableEvents = True
End If
.....