1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| '------------------------------------------------------
'---------------------- MANCHE 1 ----------------------
'------------------------------------------------------
Case 1
countTheme(1) = countTheme(1) + 1
If countTheme(1) <= NbChoixTheme(1) Then
Separateurs = Array(2, 2, 0, 0, 0) ' Définit le nombre de vbLf après chaque info
valeurConcatenee = RecupererValeursListesDeDonnees(1, Separateurs)
With WS_ExportMaxiQuizz.Cells(cellTheme(1), 1)
'.Value = "Manche 1" & vbLf & valeurConcatenee & vbLf & "Thème : " & WS_Choix.Cells(i, 14)
.Value = valeurConcatenee & "Thème : " & WS_Choix.Cells(i, 14)
.WrapText = False
End With
NomTheme(1) = WS_Choix.Cells(i, 14).Value
End If
'------------------------------------------------------
'---------------------- MANCHE 2 ----------------------
'------------------------------------------------------
Case 2
countTheme(2) = countTheme(2) + 1
If countTheme(2) <= NbChoixTheme(2) Then
Separateurs = Array(2, 2, 0, 0, 0) ' Définit le nombre de vbLf après chaque info
valeurConcatenee = RecupererValeursListesDeDonnees(2, Separateurs)
With WS_ExportMaxiQuizz.Cells(cellTheme(2), 1)
'.Value = "Manche 1" & vbLf & "2/3" & vbLf & valeurConcatenee & vbLf & "Thème : " & WS_Choix.Cells(i, 14)
.Value = valeurConcatenee & "Thème : " & WS_Choix.Cells(i, 14)
.WrapText = False
End With
NomTheme(2) = WS_Choix.Cells(i, 14).Value
End If |
Partager