OVH Cloud OVH Cloud

excel >>> comment ajouter un ' a toutes les cellules ?

2 réponses
Avatar
jdagent
Bonjour,

Quelqu'un aurait-il une solution pour ajouter une ' (apostrophe) en
d=E9but de toutes les cellules d'une ou plusieurs colonnes ?

Merci d'avance pour votre aide.

jd

2 réponses

Avatar
jb
Sélectionner le champ puis exécuter la macro:

Sub essai()
For Each i In Selection
i.Value = "'" & i.Value
Next i
End Sub

JB
Avatar
jdagent
Merci !
Impecable !
Grace à toi/vous mon dimanche se termine bien !
Salutations,
jd



jb schrieb:

Sélectionner le champ puis exécuter la macro:

Sub essai()
For Each i In Selection
i.Value = "'" & i.Value
Next i
End Sub

JB