Results 1 to 2 of 2
  1. #1
    4 Star Lounger
    Join Date
    Feb 2002
    Posts
    537
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Import from Excel (Access 2000)

    I am importing from Excel withthe help of the following:
    Dim strFile As String
    strFile = "C:bePricelist.xls "
    DoCmd.TransferSpreadsheet _
    TransferType:=acImport, _
    SpreadsheetType:=acSpreadsheetTypeExcel97, _
    TableName:="Preisliste", _
    FileName:=strFile, _
    HasFieldNames:=True

    The first row in the new table is called F1. I want to rename it automatically to "code". How can i do it with the same command ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Import from Excel (Access 2000)

    See the thread starting at <post:=663,391>post 663,391</post:>.

Posting Permissions

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