Importing excel spreadsheets without defining table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Umoja
    New Member
    • Nov 2006
    • 24

    #1

    Importing excel spreadsheets without defining table

    Hi All,

    This seems like a simple thing, but I can’t seem to figure it out. I am familiar with transferring excel spreadsheets into access using the TransferSpreash eet function Ex:(DoCmd.Trans ferSpreadsheet acImport, 8, "LogTemplat e", "C:\Documen ts and Settings\My Documents\Log template.xls", True, "").

    I would like to import several spreadsheets into access without creating the table. I know how to manually import the spreadsheet but how can it be done without assigning a table. I would to import the spreadsheet and then the table created, just like if I was to do it manually. I tried removing the table from the example I have above but I get an error. I know this is probably simple but can’t figure it out. Thanks for any advice.
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32669

    #2
    Please take more care with your question Umoja. You seem to be saying that you want to import data into Access but not store it in a table which doesn't make sense.

    What exactly ARE you trying to say?

    Comment

    • Umoja
      New Member
      • Nov 2006
      • 24

      #3
      Hi NeoPa,

      Sorry my question wasn't clear. I figured out what I was doing wrong. I needed to take a break to clear my head. Thanks for replying back.

      Comment

      • NeoPa
        Recognized Expert Moderator MVP
        • Oct 2006
        • 32669

        #4
        :D
        Sometimes that's all it takes. I'm glad you got it sorted anyway.

        Comment

        Working...