Thanks again!
So this is my current code:
Sub InsertData_Switch()
Dim arrRows As Variant
Dim EmptyCell As Range
Dim Rng As Range
arrRows = Array(10, 18, 24)
For Each T In arrRows
Set Rng = Worksheets("Switch").Range("I" & T).Resize(1, 12)
On Error Resume Next
Set EmptyCell = Rng.SpecialCells(xlCellTypeBlanks).Cells(1, 1)
If Err <> 0 Then MsgBox "There are no empty cells in row ." & T: Exit Sub
On Error GoTo 0
EmptyCell = Rng.Cells(1, 1).Offset(0, -2).Value
Next T
End Sub
Sub InsertData_HFC()
Dim arrRows As Variant
Dim EmptyCell As Range
Dim Rng As Range
arrRows = Array(15, 22, 29, 43)
For Each T In arrRows
Set Rng = Worksheets("HFC").Range("I" & T).Resize(1, 12)
On Error Resume Next
Set EmptyCell = Rng.SpecialCells(xlCellTypeBlanks).Cells(1, 1)
If Err <> 0 Then MsgBox "There are no empty cells in row ." & T: Exit Sub
On Error GoTo 0
EmptyCell = Rng.Cells(1, 1).Offset(0, -2).Value
Next T
End Sub
Sub InsertData_Advanced_Technology()
Dim arrRows As Variant
Dim EmptyCell As Range
Dim Rng As Range
arrRows = Array(27)
For Each T In arrRows
Set Rng = Worksheets("Advanced Technology").Range("I" & T).Resize(1, 12)
On Error Resume Next
Set EmptyCell = Rng.SpecialCells(xlCellTypeBlanks).Cells(1, 1)
If Err <> 0 Then MsgBox "There are no empty cells in row ." & T: Exit Sub
On Error GoTo 0
EmptyCell = Rng.Cells(1, 1).Offset(0, -2).Value
Next T
End Sub
Sub InsertData_OSS_Tools()
Dim arrRows As Variant
Dim EmptyCell As Range
Dim Rng As Range
arrRows = Array(35)
For Each T In arrRows
Set Rng = Worksheets("OSS & TOOLS").Range("I" & T).Resize(1, 12)
On Error Resume Next
Set EmptyCell = Rng.SpecialCells(xlCellTypeBlanks).Cells(1, 1)
If Err <> 0 Then MsgBox "There are no empty cells in row ." & T: Exit Sub
On Error GoTo 0
EmptyCell = Rng.Cells(1, 1).Offset(0, -2).Value
Next T
End Sub
Sub InsertData_Remedy()
Dim arrRows As Variant
Dim EmptyCell As Range
Dim Rng As Range
arrRows = Array(28)
For Each T In arrRows
Set Rng = Worksheets("Remedy").Range("I" & T).Resize(1, 12)
On Error Resume Next
Set EmptyCell = Rng.SpecialCells(xlCellTypeBlanks).Cells(1, 1)
If Err <> 0 Then MsgBox "There are no empty cells in row ." & T: Exit Sub
On Error GoTo 0
EmptyCell = Rng.Cells(1, 1).Offset(0, -2).Value
Next T
End Sub
Where would I seat this in? and I still need parts of the work sheet upprotected so field can be entered.. Thanks in adv again