I have this set up and it works fine........ but the value that it puts into column 8 (1940**) changes from time to time, and i have to be there to change the file. Can the reference to a cell (Sheet2 (Info) C6) be put in there and then all the idiots have to do is type the new number in that cell.......
Code:
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Then
Select Case Target.Cells.Value
Case 4505
Target.Offset(0, 8).Value = 194069
Case 4513
Target.Offset(0, 8).Value = 194079
Case 4521
Target.Offset(0, 8).Value = 194089
Case 4548
Target.Offset(0, 8).Value = 194099
Case Else
Target.Offset(0, 8).Value = 0
End Select
End If
End Sub