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!!!!