Excel importing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • readingr
    New Member
    • Dec 2009
    • 2

    Excel importing

    I want to import a spreadsheet into microsoft access 2007. I know I can do this by going into "external data" then to import but I don't want to do it that way.

    Instead, I would like to create a button on a form which when clicked, will start up the import wizard which is clicked in "external data".

    How could I do this?

    Thanks.
  • ADezii
    Recognized Expert Expert
    • Apr 2006
    • 8834

    #2
    Originally posted by readingr
    I want to import a spreadsheet into microsoft access 2007. I know I can do this by going into "external data" then to import but I don't want to do it that way.

    Instead, I would like to create a button on a form which when clicked, will start up the import wizard which is clicked in "external data".

    How could I do this?

    Thanks.
    Not the cleanest or prettiest approach, but it do work:
    Code:
    SendKeys "%FG", True
    SendKeys "I"

    Comment

    Working...