Results 1 to 1 of 1

Thread: exporting multiple excel files then append to MS Access tables

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2006
    Posts
    263

    Question exporting multiple excel files then append to MS Access tables

    Hi,

    Does anybody can help me with this one? I want to do codes in VBA MS access.

    I have 3 different excel file (file1.xls,file2.xls,file3.xls). How can I possibly do a multiple excel selection in MS access then check each file name.

    a = excelfile

    if a= file1.xls then

    append to table1 '(table in access)

    elseif a = file2.xls then
    append to table1 '(table in access)

    elseif a = file3.xls then
    append to table1 '(table in access)

    endif.


    I want to remove the header of the excel file before append. Is there a technique to remove how many rows to delete before it wil be append to specific table?
    Last edited by Asher David; Jan 16th, 2007 at 02:04 AM. Reason: miss item

Posting Permissions

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



Click Here to Expand Forum to Full Width