Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2012
    Posts
    1

    Unanswered: importing excel data issue

    Hey guys I think I may have a tough question

    So I query data from our SQL db with sap business objects infoview and it spits out an excel file. I have aN access db with a macro that pulls the excel data into a table with docmd transfer spreadsheet. (used macro builder.)

    The problem is: It will leave the last column blank in the access table unless I manually (or use vb) open and save the excel file before i run the access macro.


    We have had 5 people scratching our heads with this one.

    Things we verified/tried

    The range was left blank
    adding a dummy column (works until someone opens the excel file)

    Maybe something to do with versions of excel? We figure something must be happening behind the scenes when we resale that allows the macro to work.

    Thanks to anyone who might be able to help!!!!
    Last edited by Jarobe86; 03-27-12 at 22:58. Reason: Title was confusing

  2. #2
    Join Date
    Mar 2009
    Posts
    5,442
    Provided Answers: 14
    Use Automation to import the data from Excel. That way you'll be able to decide precisely what to import and how.
    Have a nice day!

  3. #3
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,418
    Provided Answers: 7
    Have you tried just linking the excel into msaccess then run a append or make table
    hope this help

    See clear as mud


    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB based on my own environment: vb6 sp5
    ASP based on my own environment: 5.6
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    MYLE
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.

Tags for this Thread

Posting Permissions

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