Hi Tim
I cannot see where you are controlling your macro.
This is your basic problem. Insert the following line.
'if row <=8 or comumn <> b then exit
if target.row<9 or target.column <> 2 then exit sub
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
Dim RNG As Range
'Dim ws As Worksheet
'Set ws = Worksheets("Sheet1")
'Dim lastRow As Long
if target.row<9 or target.column <> 2 then exit sub
Application.EnableEvents = False
On Error Resume Next
'lastRow = ws.Cells(ws.Rows.Count, "B").End(xlUp).Row
'MsgBox (lastRow)
Set RNG = Range("B:B").SpecialCells(xlConstants)
If Not RNG Is Nothing Then
RNG.Offset(, 11) = "808849"
Else
Cells.ClearContents
End If
Application.EnableEvents = True
End Sub
Bookmarks