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 21:58.
Reason: Title was confusing
Have you tried just linking the excel into msaccess then run a append or make table
hope this help
See clear as mud
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.