Un libellé pour un textbox dans une commandBar

Un libellé pour un textbox dans une commandBar - VB/VBA/VBS - Programmation

Marsh Posté le 24-07-2006 à 12:26:28    

Bonjour
 
J'aimerai savoir si il est possible de mettre un libellé a un objet d'une commandbar.
 
Le type d'objet crée dans la commandBar est msoControlEdit,j'aimerai juste ajouter un text devant mais je ne trouve aucune proprietée pour ca,le caption met jsute un text en commentaire.
Y'a t il un moyen!
Merci
 
Le code:

Code :
  1. Set bn = .Controls.Add(msoControlEdit)
  2.     With bn
  3.         .text = "10"
  4.         .Width = 30
  5.         .Caption = "Pourcentage Individues"
  6.     End With


Reply

Marsh Posté le 24-07-2006 à 12:26:28   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed