Results 1 to 2 of 2
  1. #1
    pickolizac is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2008
    Posts
    1

    Importing Excel into Access with few requirements

    Hello all,

    Im fairly familiar with access as i use it as a front end to my database. I have created a wizard which goes through couple steps from selecting Import file which is excel with maybe couple of rows with serial numbers in it. This import file can contain but not have to couple of columns. Also it might contain Headers or not and lastly it might have some empty rows between each serial. This data is then processed and then the user selects where to save the exported file with a lot of information in it.

    Now i have solved the issue of prompting a user to choose which column the data starts at (ex. A1 or B1 etc...)

    Now i have two questions that i need help with and i tried searching online but had no luck.



    First Question:

    During the wizard stage i would like to include a check mark that would be IF its checked then it will know that this imported file has headers and it will start at A2 instead of A1! Any information that you can share on this issue would be helpful. I don't mind coding anything or if there is a simple way im willing to listen and try anything.


    Second Question:

    My second question is about the blank rows, when i import the excel file if there are empty rows between filled in rows is there a way to skip them and then on the export sheet just show the rows that were there on the first excel sheet?

    Thanks for looking in and any help in advance

  2. #2
    thhui is offline Competent Performer
    Windows XP Access 2002 (version 10.0)
    Join Date
    Feb 2009
    Posts
    235
    1st Question: You should use VBA Code to import data from excel instead of just useing the wizard. Then you can set rules to control the process wholly.

    2nd Question: After import. You can run a query to delete the blank rows in acees.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Importing Xls and CSV files into MS Access
    By Jeff in forum Import/Export Data
    Replies: 1
    Last Post: 02-17-2009, 11:56 PM
  2. importing excel spreadsheet issues
    By majortool in forum Import/Export Data
    Replies: 1
    Last Post: 01-24-2008, 06:29 PM
  3. Importing from Excel
    By joer in forum Forms
    Replies: 0
    Last Post: 03-14-2007, 02:01 PM
  4. Importing Excel Sheet into Access dbase
    By tonystowe in forum Import/Export Data
    Replies: 0
    Last Post: 12-08-2006, 11:35 AM
  5. Type error when importing Excel spreadsheet
    By jlmnjem in forum Database Design
    Replies: 2
    Last Post: 08-27-2006, 07:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums