I have the following code that disables the insert row option. The problem is that it works for ALL workbooks you have open, not just the one the code is in for. How do i change that so that it only works on the workbook the code is written into?

Sub NoInsert(bSwitch As Boolean)

With CommandBars("Worksheet Menu Bar")
        .Controls("Insert").Controls("Rows").Enabled = bSwitch
End With

'With Application.CommandBars("Row")
      '  .Controls("Insert").Enabled = bSwitch
'End With

End Sub