+ Reply to Thread
Results 1 to 2 of 2

Copying data from Access to Excel: "Run-time error '6' Overflow"

  1. #1
    Registered User
    Join Date
    02-05-2014
    Location
    Prague, Czech Republic
    MS-Off Ver
    Excel 2010, Excel 2016
    Posts
    72

    Copying data from Access to Excel: "Run-time error '6' Overflow"

    Hi everybody,

    I've put together a macro, that transfers the data from MS Access database into prepared MS Excel Worksheet.

    As a part of this code, I've added the line below:

    Please Login or Register  to view this content.
    which makes sure, that all the data, that are copied over into the Excel (within the range C10:K100) are formatted as numbers (not formatted as text as would be the case without this line).

    However, once I added new quarterly data into the Access database, macro breaks down referring to the line above and giving this error message:


    Run-time error '6':

    Overflow
    Would any of you had an idea, what might be causing these break downs? Before the last update, it worked just fine...

    Thank you for any help!

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Copying data from Access to Excel: "Run-time error '6' Overflow"

    Hi,
    Does the error still occur if using Value2 like so
    Please Login or Register  to view this content.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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. [SOLVED] Code "suddenly" starts giving me error 6 overflow
    By jayherring86 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-20-2016, 07:38 AM
  2. Script not copying data from "Emails" sheet to "New Sheet" - Run time error: Object
    By methuselah90 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-08-2014, 03:22 PM
  3. [SOLVED] Runtime error "6" Overflow
    By crimzon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2014, 12:58 AM
  4. Excel 2010 (Run-time error '13' type mismatch) "Debug" and "Continue" Grayed out.
    By Jeronimo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2012, 06:42 PM
  5. "MSysAccessObject" error shows when trying to access data
    By champs in forum Access Tables & Databases
    Replies: 1
    Last Post: 03-06-2009, 07:29 AM
  6. "cannot access" error when opening excel doc over network
    By breakfastsface in forum Excel General
    Replies: 0
    Last Post: 06-10-2008, 12:34 PM
  7. Replies: 1
    Last Post: 06-05-2006, 08:20 AM

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