Te anexo la macro
Sub Copiar_Valores()
'Por.Dante Amor
'
Set h1 = Sheets("Hoja1") 'destino
Set h2 = Sheets("Hoja2") 'datos
'
h1.Cells.Clear
'
j = 1
For i = 2 To h2.Range("A" & Rows.Count).End(xlUp).Row
h1.Range("A" & j & ":D" & j) = Array("Cod.Interno", "Prod.", "Descrip.", "Price $")
h1.Range("B" & j + 1) = h2.Cells(i, "A") 'prod
h1.Range("C" & j + 1) = h2.Cells(i, "B") 'desc
h1.Range("D" & j + 1) = h2.Cells(i, "C") 'price
col = Columns("E").Column
For k = Columns("D").Column To Columns("M").Column
If h2.Cells(i, k) <> "" Then
h1.Cells(j, col) = h2.Cells(1, k)
h1.Cells(j + 1, col) = h2.Cells(i, k)
col = col + 1
End If
Next
h1.Range("A" & j + 2 & ":A" & j + 42) = "www"
h1.Range("D" & j + 2 & ":D" & j + 42) = h2.Cells(i, "C")
h1.Range("A" & j + 43) = "SALDO"
'
With h1.Range(h1.Cells(j + 43, "E"), h1.Cells(j + 43, "N"))
.FormulaR1C1 = "=SUM(R[-42]C:R[-1]C)"
End With
j = j + 44
Next
MsgBox "Fin"
End Sub
.
'S aludos. Dante Amor. Recuerda valorar la respuesta. G racias
.
Avísame cualquier duda
.