M
mango
dear all, any workaround to have both work? i really need this work. if
cannot any suggestion? pls help
Private Sub Workbook_Open()
ActiveWorkbook.Protect Structure:=True, Windows:=False
Sheets(2).Visible = True
Sheet2.CommandButtonDESB.Visible = False
Sheet2.CommandButtonKNDP.Visible = False
Sheet2.CommandButtonKNMG.Visible = False
Sheet2.CommandButtonKNMI.Visible = False
Sheet2.CommandButtonKNOG.Visible = False
Sheet2.CommandButtonKNPS.Visible = False
Sheet2.CommandButtonIMBI.Visible = False
Sheet2.CommandButtonIMTR.Visible = False
Sheet2.Label1.Visible = False
Sheet2.Label2.Visible = False
Sheet2.Label3.Visible = False
Sheet2.Label4.Visible = False
Sheet2.Label5.Visible = False
Sheet2.Label6.Visible = False
Sheet2.Label7.Visible = False
Sheet2.Label8.Visible = False
Sheets(1).Visible = False
Sheets(3).Visible = False
Sheets(4).Visible = False
Sheets(5).Visible = False
Sheets(6).Visible = False
Sheets(7).Visible = False
Sheets(8).Visible = False
Sheets(9).Visible = False
Sheet2.CommandButton1.Visible = True
Sheet2.Label9.Visible = True
ThisWorkbook.Saved = True
End Sub
cannot any suggestion? pls help
Private Sub Workbook_Open()
ActiveWorkbook.Protect Structure:=True, Windows:=False
Sheets(2).Visible = True
Sheet2.CommandButtonDESB.Visible = False
Sheet2.CommandButtonKNDP.Visible = False
Sheet2.CommandButtonKNMG.Visible = False
Sheet2.CommandButtonKNMI.Visible = False
Sheet2.CommandButtonKNOG.Visible = False
Sheet2.CommandButtonKNPS.Visible = False
Sheet2.CommandButtonIMBI.Visible = False
Sheet2.CommandButtonIMTR.Visible = False
Sheet2.Label1.Visible = False
Sheet2.Label2.Visible = False
Sheet2.Label3.Visible = False
Sheet2.Label4.Visible = False
Sheet2.Label5.Visible = False
Sheet2.Label6.Visible = False
Sheet2.Label7.Visible = False
Sheet2.Label8.Visible = False
Sheets(1).Visible = False
Sheets(3).Visible = False
Sheets(4).Visible = False
Sheets(5).Visible = False
Sheets(6).Visible = False
Sheets(7).Visible = False
Sheets(8).Visible = False
Sheets(9).Visible = False
Sheet2.CommandButton1.Visible = True
Sheet2.Label9.Visible = True
ThisWorkbook.Saved = True
End Sub