
Sub a()
dr = 3
With Sheets("FOGLIO_MASTER")
For r = 2 To 7
taglia = "TAGLIA=" & .Cells(r, "C") & "|"
For r1 = 2 To 10
colore = "COLORE=" & .Cells(r1, "D") & "|"
For r2 = 2 To 4
stile = "STILE=" & .Cells(r2, "E")
Sheets("ADD_CON_VARIANTI").Cells(dr, "H") = taglia & colore & stile
dr = dr + 1
Next
Next
Next
End With
End Sub |
Sub a()
dr = 3
With Sheets("FOGLIO_MASTER")
LR = .Cells(.Rows.Count, "C").End(xlUp).Row
For r = 2 To LR
taglia = "TAGLIA=" & .Cells(r, "C") & "|"
For r1 = 2 To 10
colore = "COLORE=" & .Cells(r1, "D") & "|"
For r2 = 2 To 4
stile = "STILE=" & .Cells(r2, "E")
Sheets("ADD_CON_VARIANTI").Cells(dr, "H") = taglia & colore & stile
dr = dr + 1
Next
Next
Next
End With
End Sub |
Sub a()
dr = 3
With Sheets("FOGLIO_MASTER")
LR = .Cells(.Rows.Count, "C").End(xlUp).Row
For r = 2 To LR
taglia = ""
If .Cells(r, "C") <> "" Then taglia = "TAGLIA=" & .Cells(r, "C") & "|"
For r1 = 2 To 10
colore = ""
If .Cells(r1, "D") <> "" Then colore = "COLORE=" & .Cells(r1, "D") & "|"
For r2 = 2 To 4
stile = ""
If .Cells(r2, "E") <> "" Then stile = "STILE=" & .Cells(r2, "E")
If taglia <> "" And colore <> "" And stile <> "" Then
Sheets("ADD_CON_VARIANTI").Cells(dr, "H") = taglia & colore & stile
dr = dr + 1
End If
Next
Next
Next
End With
End Sub
|
Sub a()
dr = 3
With Sheets("FOGLIO_MASTER")
LR = .Cells(.Rows.Count, "C").End(xlUp).Row
For r = 2 To LR
taglia = ""
If .Cells(r, "C") <> "" Then taglia = "TAGLIA=" & .Cells(r, "C") & "|"
For r1 = 2 To 10
colore = ""
If .Cells(r1, "D") <> "" Then colore = "COLORE=" & .Cells(r1, "D") & "|"
For r2 = 2 To 4
stile = ""
If .Cells(r2, "E") <> "" Then stile = "STILE=" & .Cells(r2, "E")
If taglia <> "" And colore <> "" And stile <> "" Then
Sheets("ADD_CON_VARIANTI").Cells(dr, "H") = taglia & colore & stile
dr = dr + 1
End If
Next
Next
Next
End With
End Sub |
ECCOLO |
Sub TAGLIACOLORESTILE()
dr = 3
With Sheets("FOGLIO_MASTER")
LR = .Cells(.Rows.Count, "C").End(xlUp).Row
For r = 2 To LR
taglia = ""
If .Cells(r, "C") <> "" Then taglia = "TAGLIA=" & .Cells(r, "C") & "|"
For r1 = 2 To 10
colore = ""
If .Cells(r1, "D") <> "" Then colore = "COLORE=" & .Cells(r1, "D") & "|"
For r2 = 2 To 4
stile = ""
If .Cells(r2, "E") <> "" Then stile = "STILE=" & .Cells(r2, "E")
If taglia <> "" And colore <> "" Then
Sheets("ADD_CON_VARIANTI").Cells(dr, "H") = taglia & colore & stile
dr = dr + 1
If stile = "" Then Exit For
End If
Next
Next
Next
End With
End Sub |
