+ Reply to Thread
Results 1 to 2 of 2

Importing multiple sheet from excel to access vb script keeps on crashing

  1. #1
    Registered User
    Join Date
    01-16-2009
    Location
    Santiago, Chile
    MS-Off Ver
    Excel 2003
    Posts
    1

    Importing multiple sheet from excel to access vb script keeps on crashing

    Hi,
    i have this rather large excel workbook and im trying to import each sheet as a table in access. So I wrote a small script to do it, because doing it worksheet by worksheet is way to much work.
    This is what I wrote:
    Please Login or Register  to view this content.

    The drama comes when the script is importing the third worksheet, it just crashes claiming that it can't find the third worksheet (which makes little sense because hoja.name has the exact name of it) I imagine that there is something else wrong with the script because is running very, very slowly. Any ideas?
    Last edited by Perate; 01-16-2009 at 11:30 AM. Reason: Tags added

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Perate

    Your thread does not follow forum rules

    Using code tags involves using the # icon button in the message window

    Please wrap your code correctly
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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