B
Ben
I have a checkbox with the folloing macro assigend to it
Sub ResourceGroupFilter()
Call UnhideAllColumns
If ThisWorkbook.Worksheets("All Data").CheckBoxes("Resource Group").value
= xlOff Then
Call HideColumn("Resource Group")
End If
End Sub
This causes Excel to crash and die. I think it is due to the fact that the
"All Data" worksheet is the one containing the checkbox. If I just try to
assign the ThisWorkbook.Worksheets("All Data") to a worksheet object, it
also crashes excel. Is there anywas around this?
TIA
Ben
Sub ResourceGroupFilter()
Call UnhideAllColumns
If ThisWorkbook.Worksheets("All Data").CheckBoxes("Resource Group").value
= xlOff Then
Call HideColumn("Resource Group")
End If
End Sub
This causes Excel to crash and die. I think it is due to the fact that the
"All Data" worksheet is the one containing the checkbox. If I just try to
assign the ThisWorkbook.Worksheets("All Data") to a worksheet object, it
also crashes excel. Is there anywas around this?
TIA
Ben