Bonjour le Forum,
Sur le code ci-dessous j'ai un problème :
Je n'aarive pas à affciher plusierus colonnes et le fait de mettre plusieurs colonnes dans mes propriétés ne marche pas.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 Private Sub CommandButton118_Click() Sheets("comptabilité").Select Dim lgLig As Long Me.ListBox1.Clear ActiveSheet.Range("$A$1:$J$112").AutoFilter Field:=5, Criteria1:= _ ComboBox2.Value For lgLig = 1 To Range("A" & Cells.Rows.Count).End(xlUp).Row If Rows(lgLig).Hidden = False Then If Range("A" & lgLig) <> "" Then ListBox1.AddItem Range("A" & lgLig) End If End If Next lgLig End Sub
Pouvez vous m'aider?
Merci par avance
Partager