+ Reply to Thread
Results 1 to 2 of 2

Run-time error on database

  1. #1
    Registered User
    Join Date
    02-06-2023
    Location
    Canberra, Australia
    MS-Off Ver
    2208
    Posts
    1

    Run-time error on database

    Hi everyone,

    My skills with MS Excel are very basic and I don't even know if I am posting this in the right area.

    As part of my job I need to fill in Excel spreadsheets to load data into the payroll system. The data to select from in these spreadsheets is massive, but we only need to select at most 10% of the data available.

    I want to remove all of the data we do not use to make the job easier. On the Excel document it says I can hit Ctrl-M to maintain the values of the data, but when I do this I get an error saying Run-time error '6' Overflow.

    Does anyone know how to correct this problem. I have looked online but the solutions do not make any sense to me.

    Thanks in advance for any help.

    If you want me to give more information or screenshots, just let me know.

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,176

    Re: Run-time error on database

    if you are importing into an access database, then the xL field is too big to fit into a field:
    like a 255 string fitting into a text field with size of 10. (this wont give an error since it will truncate)

    but with numbers you get errors:
    like a Long integer number loading into an INTEGER field (limit number size: 32767)
    any number bigger than 32767 will give Overflow error.

    same with putting a DOUBLE size into a SINGLE data type.
    set the data types to their maximum size to avoid overflow.

+ 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. Replies: 5
    Last Post: 05-09-2018, 12:30 PM
  2. Cannot Publish Excel Pivot Chart - Run Time Error
    By crisb184 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-11-2013, 07:04 AM
  3. run-time error ;2147023179 (800706b5) time automation error interface unknown
    By karthik72 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2012, 09:31 AM
  4. Run-time error '1004' with vba for sequential auto-number for database entries
    By Orestees in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-20-2012, 10:50 AM
  5. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 AM
  6. runtime error 3265 error in a VBA Query to pull info from ERP Database
    By NBVC in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-12-2010, 03:59 PM
  7. Replies: 2
    Last Post: 03-08-2006, 04:45 PM

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