Results 1 to 4 of 4

Thread: Excel: error 'subscript out of range' while importing spreadsheet

  1. #1
    Join Date
    May 2009
    Posts
    201

    Excel: error 'subscript out of range' while importing spreadsheet

    I tried to import a spreadsheet to Access from one of my Excel workbook. I was unable to do that and excel gives the pop up with the following error "subscript out of range". What is that and how can i fix this problem ?

  2. #2
    Join Date
    Apr 2008
    Posts
    4,642

    Re: Excel: error 'subscript out of range' while importing spreadsheet

    The problem might be that the wizard doing the import has a limit on the number of fields it can import.The problem is definitely not with Access, its with Excel. Try importing the excel to a new table and double check the field formats access assigned. Also delete all empty columns and rows.Deleting the empty columns and/or rows restores them to a "pristine" condition. Or try entering a ZERO in each blank field. to do that, enter a 1 in a blank cell on another sheet, COPY the cell, select the date column, Edit>Paste Special - MULTIPLY. The delete the ROWS below the table that do not contain data but have ZEROS in the date column.

  3. #3
    Join Date
    Feb 2009
    Posts
    113

    Re: Excel: error 'subscript out of range' while importing spreadsheet

    You can try to import the spreadsheet in the CSV format.Delete all empmty rows and columns. You might also try ensuring that the Excel spreadsheet does not include any illegal fieldnames as header rows. Check for the use of special characters, such as apostrophes, colons, etc. in the header row in Excel.

  4. #4
    Join Date
    May 2008
    Posts
    4,570

    Re: Excel: error 'subscript out of range' while importing spreadsheet

    What i can suggest you is simply remove all blank columns and rows Or import it manually. Select excel file to import, click next and you will get error. Now on the next screen just checkout the data and verify the columns. Here scroll left till end. There might be extra columns which is causing this problem.

Similar Threads

  1. Replies: 4
    Last Post: 31-12-2011, 06:11 PM
  2. Can We Auto-Run Excel Spreadsheet.??
    By Dilbert in forum Windows Software
    Replies: 4
    Last Post: 02-01-2010, 09:09 PM
  3. Importing Excel Spreadsheet
    By Theodore Long in forum Microsoft Project
    Replies: 3
    Last Post: 05-06-2009, 09:02 AM
  4. Error while importing data to excel file
    By Rutajit in forum Windows Software
    Replies: 3
    Last Post: 07-05-2009, 11:38 PM
  5. Importing HTML table in a Spreadsheet - Excel 2007
    By Aarif in forum Tips & Tweaks
    Replies: 1
    Last Post: 01-12-2008, 02:35 PM

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
  •  
Page generated in 1,714,303,787.16960 seconds with 17 queries