Una famiglia di software per fogli di calcolo Microsoft con strumenti per l'analisi, la creazione di grafici e la comunicazione dei dati.
Ciao IvoAllinoro,
vedi se questa prima approssimazione somiglia a ciò che vuoi ottenere:
Public Sub Test1()
' --- PERSONALIZZARE ---------- >
'
Const cstrSrcSheet As String = "Foglio1"
Const cstrSrcRange As String = "A9"
Const clngSrcCols As Long = 3
Const cstrDstRange As String = "A1"
'
' --- PERSONALIZZARE ---------- <
Dim wbk As Excel.Workbook
Dim wshSrc As Excel.Worksheet
Dim wshDst As Excel.Worksheet
Dim rngSrc As Excel.Range
Dim rngDst As Excel.Range
Dim r As Long
Dim c As Long
Set wbk = Application.ThisWorkbook
With wbk
Set wshSrc = .Worksheets(cstrSrcSheet)
Set wshDst = .Worksheets.Add
End With
Set rngSrc = wshSrc.Range(cstrSrcRange)
Set rngDst = wshDst.Range(cstrDstRange)
r = 0
Do Until IsEmpty(rngSrc.Offset(r).Value)
For c = 0 To clngSrcCols - 1
rngDst.Offset(r * 2, c).Value = rngSrc.Offset(r, c).Value
Next
r = r + 1
Loop
Set rngDst = Nothing
Set rngSrc = Nothing
Set wshDst = Nothing
Set wshSrc = Nothing
Set wbk = Nothing
End Sub