Xin các ACE trợ giúp câu lệnh trong tình huống sau, sh đã được protec "1234", cho hiện hộp thoại-->gõ pass theo yêu cầu-->
ActiveSheet.Protect ("1234")
Application.Dialogs(28).Show
(sau khi gõ pass)
IF đúng pass 1234 thì
ActiveSheet.Shapes("Picture 1").Visible = msoTrue
ActiveSheet.Shapes("Picture 2").Visible = msoFalse
ActiveSheet.Protect ("5678")
Else
ActiveSheet.Protect ("1234")
End If
End Sub
Đoạn màu đỏ đang bí. Nhờ ACE trợ giúp. Cảm ơn trước
ActiveSheet.Protect ("1234")
Application.Dialogs(28).Show
(sau khi gõ pass)
IF đúng pass 1234 thì
ActiveSheet.Shapes("Picture 1").Visible = msoTrue
ActiveSheet.Shapes("Picture 2").Visible = msoFalse
ActiveSheet.Protect ("5678")
Else
ActiveSheet.Protect ("1234")
End If
End Sub
Đoạn màu đỏ đang bí. Nhờ ACE trợ giúp. Cảm ơn trước