Modifier listbox avec commandbutton

Bonjour,

J'aimerais en appuyant sur un commandbutton changé la taille ainsi que le placement d'une listbox.

Pour un Userform, j'utilise ce code dans mon commandbutton:

With Me

.Width = 500

.Height = 300

End With

Cependant pour ma listbox, j'arrive pas à trouver le code adéquat

En espérant bien me faire comprendre

En vous remerciant

Bonjour

Vous y etes presque là...

With Me.ListBox1
    .Left = 50
    .Top = 100
End With

Cordialement

Bonjour Dan,

Un grand merci

Rechercher des sujets similaires à "modifier listbox commandbutton"