- Katılım
- 30 Kasım 2006
- Mesajlar
- 625
- Excel Vers. ve Dili
- OFFICE 2003 Türkçe
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
kodlara kırmızı satırı ekleyin, iyi calışmalar.Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Target, Columns(10)) Is Nothing Then Exit Sub
Dim hcr As Range
Application.ScreenUpdating = False
For Each hcr In Range("K25:AL25")
hcr.EntireColumn.Hidden = False
If hcr.Value = 0 Then hcr.EntireColumn.Hidden = True
ComboBox1.Top = Rows(1).Top
ComboBox1.Top = ActiveCell.Rows(1).Top
ComboBox1.Left = ActiveCell.Rows.Left
Next
Application.ScreenUpdating = True
End Sub
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim hcr As Range
[COLOR=#ff0000]If Intersect(Target, Range("J:J")) Is Nothing Then Exit Sub[/COLOR]
Application.ScreenUpdating = False
For Each hcr In Range("K25:AL25")
hcr.EntireColumn.Hidden = False
If hcr.Value = 0 Then hcr.EntireColumn.Hidden = True
ComboBox1.Top = Rows(1).Top
ComboBox1.Top = ActiveCell.Rows(1).Top
ComboBox1.Left = ActiveCell.Rows.Left
Next
Application.ScreenUpdating = True
End Sub
Private Sub ComboBox1_Change()
If Intersect(ActiveCell, Columns(10)) Is Nothing Then Exit Sub
ActiveCell = ComboBox1.Value
End Sub