+ Reply to Thread
Results 1 to 5 of 5

Subscript out of range

Hybrid View

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    Pittsburgh
    Posts
    8

    Subscript out of range

    I am trying to import an Excell spreadsheet into an Access table in my data base. I am doing the same steps and i have used in the past, but I keep receiving the error msg "SUBSCRIPT OUT OF RANGE". How do I get it back into range so I may import into my table. I have been working on this for an hour and a half. Thank you in advance for your help.

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

    Re: Subscript out of range

    Are you getting this error in excel? A subscript out of range error is because the sheet name in your file does not match the sheet name in the code or it does not exist. Please check the sheet names.
    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
    10-23-2008
    Location
    Pittsburgh
    Posts
    8

    Re: Subscript out of range

    Not sure exactly what you are saying. My sheet name is the name, what must it match. If I start over what do i call my file and sheet?

  4. #4
    Registered User
    Join Date
    10-23-2008
    Location
    Pittsburgh
    Posts
    8

    Re: Subscript out of range

    I was getting the error message when I tried to import to Access. Your information about the sheet names not matching made me start over with new spreadsheets and I was able to import the information. I am not sure as to what i did differently but it worked.
    Thank You.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Subscript out of range

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.

+ 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