+ Reply to Thread
Results 1 to 4 of 4

Copying data in seperate columns into one colum - very large data set

  1. #1
    Registered User
    Join Date
    08-16-2012
    Location
    Leicester, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Copying data in seperate columns into one colum - very large data set

    Hello Everyone

    I am currently playing with a very large data set (510 rows, 755 colums). In order for this data to be input into the database of the software I am using, each column has to be pasted beneath eachother into one column. This is the macro I have been usuing to do this (found on a forum - I don't know how to write my own).

    Please Login or Register  to view this content.
    This macro works well when I have small amounts of data to move about but when I try it with my real data I get the error message: "Run time error '6': Overflow". I'm not sure what this means and I am a novice when it comes to coding so the report from debugging means little to me, only hilghting that there is a bug in the line:

    Please Login or Register  to view this content.
    The macro effectivly copies cells into the first column up to row 33150, but there should be 385000 rows if it was sucsessful.

    I am also only using a 32bit version of Excel. I have been informed that this version of Excel has problems with files over 2GB and mine is 2.5GB, could this be the problem?

    Help is appreciated, thankyou!

  2. #2
    Administrator arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,147

    Re: Copying data in seperate columns into one colum - very large data set

    Change this line from
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    08-16-2012
    Location
    Leicester, England
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Copying data in seperate columns into one colum - very large data set

    Perfect!!! Thanks a lot!

  4. #4
    Administrator arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,147

    Re: Copying data in seperate columns into one colum - very large data set

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1