tabpage remove

  1. M

    Question tabcontrol1.tabpages.remove (Not working in a particular event)

    hi, I have an event called "worksheet_selectionchanged" which occurs when a range/cell is selected in an excle file.When the event is triggered, all the tabpages in a tabcontrol should be removed. The code is given below: Private Sub myWorksheet_SelectionChange(ByVal Target As Excel.Range)...
Top Bottom