Userform

Bonjour,

Est-il possible d'avoir mon tableau userform ouvert afin qu'il m'affiche en direct les opérations faite sur ma feuille excel, et que je ne sois pas obligé de le fermer et de le ré-ouvrir pour avoir le résultat ?

Merci à tous.

Mythotem

Voici éventuellement les 2 fichiers :

Sub Afficher()

UserForm1.Show modal

End Sub

et

Option Explicit

Private Sub CommandButton1_Click()

Unload Me

End Sub

Private Sub Frame1_Click()

End Sub

Private Sub Frame2_Click()

End Sub

Private Sub Label1_Click()

End Sub

Private Sub Label10_Click()

End Sub

Private Sub Label2_Click()

End Sub

Private Sub Label6_Click()

End Sub

Private Sub TextBox1_Change()

End Sub

Private Sub TextBox10_Change()

End Sub

Private Sub TextBox2_Change()

End Sub

Private Sub TextBox3_Change()

End Sub

Private Sub TextBox4_Change()

End Sub

Private Sub TextBox5_Change()

End Sub

Private Sub TextBox6_Change()

End Sub

Private Sub TextBox8_Change()

End Sub

Private Sub TextBox9_Change()

End Sub

Private Sub UserForm_Initialize()

With Me

.StartUpPosition = 0 'Annule la position centrée

.Top = 300 'Règle la position vers le Haut

.Left = 1000 'Règle la position vers la Gauche

End With

TextBox1.Value = Date

TextBox9.Value = Cells(1, 12)

TextBox2.Value = Cells(1, 13)

TextBox3.Value = Cells(1, 14)

TextBox4.Value = Cells(1, 15)

TextBox5.Value = Cells(1, 17)

TextBox10.Value = Cells(1, 16)

TextBox6.Value = Cells(1, 18)

TextBox7.Value = Cells(1, 19)

TextBox8.Value = Cells(1, 20)

TextBox2.Value = FormatNumber(TextBox2.Value, 2)

TextBox3.Value = FormatNumber(TextBox3.Value, 2)

TextBox4.Value = FormatNumber(TextBox4.Value, 2)

TextBox5.Value = FormatNumber(TextBox5.Value, 2)

TextBox6.Value = FormatNumber(TextBox6.Value, 2)

TextBox7.Value = FormatNumber(TextBox7.Value, 2)

TextBox8.Value = FormatNumber(TextBox8.Value, 2)

TextBox9.Value = FormatNumber(TextBox9.Value, 2)

TextBox10.Value = FormatNumber(TextBox10.Value, 2)

End Sub

Bonjour je ne suis pas très calé en userform mais il existe l'option "caméra" qui ne fonctionne pas avec votre userform mais qui permet de surveiller une plage de cellule en direct

Merci, mais la caméra n'est pas fixe dans un défilement de la feuille.

Rechercher des sujets similaires à "userform"