Listbox -icerigine göre gösterim

Katılım
2 Mayıs 2006
Mesajlar
226
Excel Vers. ve Dili
office 2003
Almanca
slm

biraz kendim kod yazmaya basladim ,

If ListBox1.value=" " Then
ListBox1.Visible=False
Else
ListBox1.Visible=True
End If


burada yapmak istedigim listbox da eger veri varsa Listbox gösterilsin, yoksa listbox gösterilmesin userform üzerinde.
bunu button veya userform acilisina bagladim, fakat calismadi.

acaba nerde hatam var

saygilar
 

Orion1

Uzman
Uzman
Katılım
1 Mart 2005
Mesajlar
22,254
Excel Vers. ve Dili
Win7 Home Basic TR 64 Bit

Ofis-2010-TR 32 Bit
:cool:
Kod:
If ListBox1.ListCount < 1 Then
    ListBox1.Visible = False
    Else
    ListBox1.Visible = True
End If
 
Katılım
2 Mayıs 2006
Mesajlar
226
Excel Vers. ve Dili
office 2003
Almanca
hocam siz bir kitap gibisiniz.

en cok korktugum sey ,bu site kapanir diye ...

gece -gündüz cok seyler ögreniyorum bu siteden

tesekkürler
 

Orion1

Uzman
Uzman
Katılım
1 Mart 2005
Mesajlar
22,254
Excel Vers. ve Dili
Win7 Home Basic TR 64 Bit

Ofis-2010-TR 32 Bit
hocam siz bir kitap gibisiniz.

en cok korktugum sey ,bu site kapanir diye ...

gece -gündüz cok seyler ögreniyorum bu siteden

tesekkürler
Rica ederim.
İyi çalışmalar.:cool:
 
Üst