Akash kothari
Member
from range B1:K50 sometime may be I want to skip 3 column or 4 column , So suppose if in sheet 2 cell C1 has value "2" then starting from range B1:K50 in sheet1 it should skip 2 column if its given 3 it should skip 3 columns and so on.
How can we do this ?
Attached sample file
Thank you
Akash
How can we do this ?
Code:
Sub testing()
Sheets("Data").Range(Sheets("Invoice").Range("B6") & ":" & Sheets("Invoice").Range("C6")).copy
Sheets("Invoice").Select
Range("B9").PasteSpecial xlPasteValues
End Sub
Attached sample file
Thank you
Akash