P
Phillip R
Guest
I'm having issues exporting a range from excel to file, I don't want to copy
the entire spreadsheet or a whole row just a range.
I tried this Print #FileNum, ( Range("2:1,10:2").Select)
Another question is do iterate through the cells
Dim firstcell as string
Dim lastcell as string
Dim MyRow as string
for firstcell = A2 to lastcell
If Range(firstcell).value <> ""
Myrow =(firstcell, lastcell)
Print # FileNum, (Range(firstCell, lastcell)
End if
Next firstcell
the entire spreadsheet or a whole row just a range.
I tried this Print #FileNum, ( Range("2:1,10:2").Select)
Another question is do iterate through the cells
Dim firstcell as string
Dim lastcell as string
Dim MyRow as string
for firstcell = A2 to lastcell
If Range(firstcell).value <> ""
Myrow =(firstcell, lastcell)
Print # FileNum, (Range(firstCell, lastcell)
End if
Next firstcell