Consulting

Results 1 to 2 of 2

Thread: Solved: excel column names to access array

  1. #1
    VBAX Regular
    Joined
    Jun 2005
    Posts
    65
    Location

    Solved: excel column names to access array

    Hi All and thanks for reading

    Does anyone know of a way to pull the column names from an excel spreadsheet into an array in access?

    The reason
    I have a download spreadsheet that changes by adding or removing columns every month. I attempting to build a custom import that will deal with the changes.

    The Plan
    I am going to compare the previous months table's feild names and ordinal positions to the spreadsheet to determine what has changed. Then either move new columns to the end of the spreadsheet (dont care about new data) or insert column (with name) to satisfy the transferspreadsheet routine i already have.

    Any better ideas appreciated.

  2. #2
    VBAX Regular
    Joined
    Jun 2005
    Posts
    65
    Location

    opps

    sorry forgot to add that column names are in the second row of the spreadsheet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •