Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
10/11/2015 5:19:56 PM EDT
I have some sets of data that are about 50 columns by 1600 - 2000 rows in individual excel files. In attempting to add sequential data sets into one large excel file, I am having trouble with "copy paste" of one data set (from an excel file) and inserting it into another excel file.

For some reason it won't copy into my new file. Any tips on what I could try to get this to work for me?

Thanks
10/11/2015 5:23:50 PM EDT
[#1]
Tag.

Posted Via AR15.Com Mobile
10/11/2015 5:31:35 PM EDT
[#2]
Do you have both sheets ETA workbooks open in one instance of excel or are they open in two different excel instances?  If they are in two different instances (you can see both workbooks at the same time in different windows) it fucks up copy - paste.  Open them both in one window and it should fix it.
 
10/11/2015 5:35:54 PM EDT
[#3]
How many workbooks and how many sheets?

Posted Via AR15.Com Mobile
10/11/2015 5:53:22 PM EDT
[#4]
Google named range.
10/11/2015 5:57:22 PM EDT
[#5]
Kind of a long shot, but you might be able to do a vlookup to get it into one file. Or create a macro to combine them.
10/11/2015 5:58:39 PM EDT
[#6]
Each data set would open in a new workbook (as one sheet only), but when I copied the sheets into a new workbook, not even then could I copy paste the data onto a worksheet (with only one instance open).

Unless anyone has a better idea, I've been opening the worksheets as a table in matlab then adding the data in, and exporting as an excel file. Which is going to take too much time.
10/11/2015 6:02:50 PM EDT
[#7]
Quote History
Quoted:
How many workbooks and how many sheets?

Posted Via AR15.Com Mobile
View Quote


One sheet per data set. Each data set was an export from another program which saved them as individual excel files.
10/11/2015 6:20:49 PM EDT
[#8]
How long are you waiting in between copy and then trying to paste? I routinely copy and paste really large chunks into and out of excel, SAS, SPSS and/or teradata sqla and if systems resources are low it takes a while to copy to the clipboard and then back out. I usually give it a minute or so between steps if I run into issues like that. Could just be a placebo effect, but it works for me.

eta- that amount is trivial now that I see it wasn't 160000! ,have you tried a full restart?
10/11/2015 6:28:31 PM EDT
[#9]
Are they both .xlsx?

Sheet-level objects differ slightly from .xls to .xlsx.


I deal with Excel/VBA and automation professionally.
10/11/2015 6:33:02 PM EDT
[#10]
Quoted:
I have some sets of data that are about 50 columns by 1600 - 2000 rows in individual excel files. In attempting to add sequential data sets into one large excel file, I am having trouble with "copy paste" of one data set (from an excel file) and inserting it into another excel file.

For some reason it won't copy into my new file. Any tips on what I could try to get this to work for me?

Thanks
View Quote


Have you looked to see that both workbooks are saved as the same version of excel?
10/11/2015 6:41:55 PM EDT
[#11]
Have both excel documents open at the same time and keep them both open, copy from one and paste into the other, don't close the one you are copying from.
10/11/2015 6:59:00 PM EDT
[#12]
Quote History
Quoted:
Are they both .xlsx?

Sheet-level objects differ slightly from .xls to .xlsx.


I deal with Excel/VBA and automation professionally.
View Quote


Everything is in .xlsx
10/11/2015 7:20:37 PM EDT
[#13]
Are they actually stored in xlsx format? If you change the extension to .txt and open it with notepad what does it look like?

Posted Via AR15.Com Mobile
10/11/2015 7:50:12 PM EDT
[#14]
I would import the data into SQL Server or PostgreSQL the rock and roll.

Posted Via AR15.Com Mobile
10/11/2015 9:44:09 PM EDT
[#15]
Copy the data to the clipboard, then rightclick and Paste Special > Data into the new workbook.

This will strip all the formatting and any formulae from your pasted information.