ngocanhwin
Thành viên mới

- Tham gia
- 14/2/08
- Bài viết
- 21
- Được thích
- 0
Đây là 1 đoạn code trong bảng tính của em:
'
'Mo cac database
'If Target.Address = "$N$8" Then
'If Target.Value = "" Then
'TT1.Visible = xlSheetVeryHidden
'TT2.Visible = xlSheetVeryHidden
'TT3.Visible = xlSheetVeryHidden
'TT4.Visible = xlSheetVeryHidden
'TT5.Visible = xlSheetVeryHidden
'TT6.Visible = xlSheetVeryHidden
'TT7.Visible = xlSheetVeryHidden
'End If
'If Target.Value = Range("N1").Value Then TT6.Visible = xlSheetVisible
'If Target.Value = Range("N2").Value Then TT1.Visible = xlSheetVisible
'If Target.Value = Range("N3").Value Then TT4.Visible = xlSheetVisible
'If Target.Value = Range("N4").Value Then TT2.Visible = xlSheetVisible
'If Target.Value = Range("N5").Value Then TT5.Visible = xlSheetVisible
'If Target.Value = Range("N6").Value Then TT3.Visible = xlSheetVisible
'If Target.Value = Range("N7").Value Then TT7.Visible = xlSheetVisible
'End If
Nhờ bác nào nào cao thủ xin chỉ giáo.
'
'Mo cac database
'If Target.Address = "$N$8" Then
'If Target.Value = "" Then
'TT1.Visible = xlSheetVeryHidden
'TT2.Visible = xlSheetVeryHidden
'TT3.Visible = xlSheetVeryHidden
'TT4.Visible = xlSheetVeryHidden
'TT5.Visible = xlSheetVeryHidden
'TT6.Visible = xlSheetVeryHidden
'TT7.Visible = xlSheetVeryHidden
'End If
'If Target.Value = Range("N1").Value Then TT6.Visible = xlSheetVisible
'If Target.Value = Range("N2").Value Then TT1.Visible = xlSheetVisible
'If Target.Value = Range("N3").Value Then TT4.Visible = xlSheetVisible
'If Target.Value = Range("N4").Value Then TT2.Visible = xlSheetVisible
'If Target.Value = Range("N5").Value Then TT5.Visible = xlSheetVisible
'If Target.Value = Range("N6").Value Then TT3.Visible = xlSheetVisible
'If Target.Value = Range("N7").Value Then TT7.Visible = xlSheetVisible
'End If
Nhờ bác nào nào cao thủ xin chỉ giáo.