+ Reply to Thread
Results 1 to 8 of 8

Over Flow Error when copying columns

  1. #1
    Registered User
    Join Date
    08-12-2013
    Location
    Denton, Texas
    MS-Off Ver
    Excel 2010
    Posts
    89

    Over Flow Error when copying columns

    Hello,

    I'm running into an Over Flow Error when trying to execute the code below. Could anyone help me with this.

    Thank you so much

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Over Flow Error when copying columns

    I did not get an error when I test it.

  3. #3
    Registered User
    Join Date
    08-12-2013
    Location
    Denton, Texas
    MS-Off Ver
    Excel 2010
    Posts
    89

    Re: Over Flow Error when copying columns

    AB33 Thanks for your quikc reply.
    I have attached the workbook that is giving me problems.

    Please take a look at it and see if you are getting the same error. If not it must be something deeper into my other code.


    Thank you
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Over Flow Error when copying columns

    You have -688538 in row E-117, hence the overflow error.

  5. #5
    Registered User
    Join Date
    08-12-2013
    Location
    Denton, Texas
    MS-Off Ver
    Excel 2010
    Posts
    89

    Re: Over Flow Error when copying columns

    It almost seems as if anything passed row 114 is too much for the system. When I go in and delete 115 and beyond it clears up the error for the Over Flow.

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Over Flow Error when copying columns

    You can use

    Please Login or Register  to view this content.
    It will skip the row which has overflow problem, but not recommend. It does not address the underlying issue, but mask it.
    Here is the link to overflow.

    http://msdn.microsoft.com/en-us/libr...(v=vs.60).aspx

  7. #7
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Over Flow Error when copying columns

    If you convert -688538 in to -68853 (By removing the last digit), the code does not error.

  8. #8
    Registered User
    Join Date
    08-12-2013
    Location
    Denton, Texas
    MS-Off Ver
    Excel 2010
    Posts
    89

    Re: Over Flow Error when copying columns

    AB33 You Genius!!!!

    Ok see why it was posting the error! Thank you so much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. over flow run time error 6
    By AB33 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-22-2012, 01:39 PM
  2. [SOLVED] VBA copying columns from one sheet to another - error / help
    By Traviscon in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-18-2012, 02:09 PM
  3. get cash flow recovered from 4 columns of data
    By dariushou in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-14-2008, 01:38 AM
  4. making columns flow down the page
    By andy in forum Excel General
    Replies: 1
    Last Post: 05-24-2006, 08:10 PM
  5. Flow chart of code? Is there a way to produce a graphical flow chart?
    By Craigm in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-23-2005, 05:05 AM

Tags for this Thread

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