Private Sub CommandButton1_Click()
Dim x As String
Dim y As String
x = Range("B5")
y = "<B>"
Range("B5") = x & Chr(10) & y & Chr(10)
SendKeys "{F2}"
End Sub
Private Sub CommandButton1_Click()
Dim x As String
Dim y As String
x = Range("B5")
y = "<B>"
Range("B5") = x & Chr(10) & y & Chr(10)
Cells(5, 2).Select
SendKeys "{F2}"
End Sub
De rien.Hello @Marcel32 , le problème c'est que SendKeys F2 ne permet pas d'afficher le curseur
Et je proposais d'utiliser la macro SelectionChange...Comment faire apparaitre le curseur dans une cellule sélectionnée, à la fin du texte de celle ci?