Please help! I have attached the latest file with the updated code. Everything works except when the user tries to insert a row, then excel crashes. I believe Excel is crashing because there is no value in the Offset area in the row that was just inserted. How do I stop this?
twotables.png
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
Dim xSht As Worksheet
Set xSht = ActiveWorkbook.ActiveSheet
Dim xRg As Range, xCell As Range
Set xRg = xSht.Range("DevTable")
If Not Intersect(Target, Range("DevTable")) Is Nothing Then
For Each xCell In xRg
If xCell = "" Then
xCell.Value = xCell.Offset(0, 35).Value
End If
Next xCell
End If
End Sub
Bookmarks