Bonjour la communauté,
Dans mon code ci-dessous, je souhaite mettre les variables NomComplet et NomProf en gras.
Merci d'avance pour vos contributions.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 NomComplet = Cells(5 + infos, 2).Value NomPere = Cells(5 + infos, 5).Value NomMere = Cells(5 + infos, 6).Value NomProvince = Cells(5 + infos, 7).Value NomProf = Cells(5 + infos, 11).Value phrase0 = Sheets("Config").Cells(2, 25).Value phrase1 = Sheets("Config").Cells(3, 25).Value If GenreSex = "F" Then phrase2 = Sheets("Config").Cells(4, 26).Value Else phrase2 = Sheets("Config").Cells(4, 25).Value End if phrase3 = Sheets("Config").Cells(5, 25).Value 'Traitement 2ème Paragraphe Cells(15, 1) = phrase1 & NomComplet & ", " & phrase2 & NomPere & phrase3 & NomMere & ", " & phrase4 & NomProvince & phrase5 & NomProf
Partager