Consulting

Results 1 to 10 of 10

Thread: Solved: pull excel workbook into excel template

  1. #1

    Solved: pull excel workbook into excel template

    from an access database designed by a vendor of ours, we run datasheets then export to excel. I need to "load" this exported excel file into an excel template. how do i do that? under 'get external data' there's no choice for getting another excel file....
    Pam White
    Highpoint Health System
    pam.white@lpnt.net

  2. #2
    VBAX Mentor
    Joined
    Oct 2007
    Posts
    372
    Location
    export access as csv and import in excel as delmited text?

  3. #3
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,876
    Yes there is.
    Data|Import Extrernal Data|New Database Query
    On the Databases tab select '<New Data Source>' (unless you can already see something to do with Excel) and click OK.
    In the next dialogue, for field 1 enter a name such as 'Excel Files'
    For field 2 choose 'Microsoft Excel Driver (*.xls)'
    Click 'Connect' button
    Follow instructions.
    Thereafter you should see Excel files in the first dialogue box.
    You'll be able to connect to whole sheets and named ranges in the closed workbook.
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  4. #4
    i don't have those options.... i have 2007, do you?
    Pam White
    Highpoint Health System
    pam.white@lpnt.net

  5. #5
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,876
    2003.
    Surely they've got to be there somewhere?!
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  6. #6
    found them!!! thanks!!! working
    Pam White
    Highpoint Health System
    pam.white@lpnt.net

  7. #7
    how do i mark as solved?
    Pam White
    Highpoint Health System
    pam.white@lpnt.net

  8. #8
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,059
    Location
    HI Pam, You should find this option under the Thread tools ( just above your initial post. I've done it for you this time.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  9. #9
    to take this farther, can i write a macro which will do this automatically?
    Pam White
    Highpoint Health System
    pam.white@lpnt.net

  10. #10
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,876
    A macro could be written to do this automatically but it needs knowledge of what you're querying (varying filenames?). You can set up querytables in excel, even include SQL statements. It gets quite involved. I did it for one company I worked for - evolving it into a direct query on the Access database. It depends on how often you have to do it, or how quickly you need to get the information, as to whether it's worth doing automatically.
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

Posting Permissions

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