Copying imported data

Kiwi den

Board Regular
Joined
Feb 17, 2014
Messages
153
Office Version
  1. 365
Platform
  1. Windows
Not sure if this is possible, but I will ask anyway.
I have a worksheet that gets data imported from a survey form
This data is imported into Sheet 1 Row A1 through to A12

What i would like to do is once the data is imported, is to copy it to Sheet 2 rows A1 to A12, so I delete Sheet 1 info, this will allow me to import next survey
What I want is to keep data on sheet 2, but the next survey data to be copied from Sheet 1 rows A1 to A12 to Sheet 2 rows B1 to B12 and so on for all survey results Sheet 2 rows C1 to c12, Sheet 2 rows D1 to D12 etc
this is to keep a record of all results on Sheet 2, while leaving Sheet 1 clear for new imported data.

your thoughts appreciated
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
How about
Code:
Sub KiwiDen()
   Sheets("Sheet1").Range("A1:A12").Copy Sheets("Sheet2").Cells(1, Columns.Count).End(xlToLeft).Offset(, 1)
End Sub
 
Upvote 0
hi thanks for this,
my bad the cells to copy are actually A2 - O2
could you please advise the code as my attempts end in failure
 
Upvote 0
Do you still want to copy them to row 1 of sheet2?
 
Upvote 0
In that case use
Code:
Sub KiwiDen()
   Sheets("Sheet1").Range("A2:O2").Copy Sheets("Sheet2").Cells(1, Columns.Count).End(xlToLeft).Offset(, 1)
End Sub
 
Upvote 0
thanks, but it doesn't stack the records as a list under each row, ie; sheet 2 1st set of records goes from A2 - O2, the next set goes from sheet 2 P2 - AE2
rather than to A3 - O3 and A4 - O4 etc
 
Upvote 0
:confused: Please see your reply in post#5
 
Upvote 0
ok yes misunderstood, I wanted them to go to row 1
then to row2, then row3 etc to form a list
 
Upvote 0
Ok, how about
Code:
Sub KiwiDen()
   Sheets("Sheet1").Range("A2:O2").Copy Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Offset(1)
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top