I'm pulling in data from SQL via a query connection in Excel 2007, but when the data is pulled in it disrupts the headers [adds blank columns] when I am pulling the data in underneeth [row13].
In Excel 2003 the External data connection could be controlled to not change column formatting but I can't find this in 2007?
I don't have 2007, (only go back as far as 2010,) but are you pulling this into an Excel table?
If it is, and you select any cell in the table, you should see a Table Tools tab pop up. On the third group there is a Properties button. In there should be a few options to control how the table loads.
Hope this helps,
Ken Puls, FCPA, FCMA, MS MVP
Learn to Master Your Data at the Power Query Academy (the world's most comprehensive online Power Query training), with my book M is for Data Monkey, or our new Power Query Recipe cards!
Main Site: http://www.excelguru.ca -||- Blog: http://www.excelguru.ca/blog -||- Forums: http://www.excelguru.ca/forums
Check out the Excelguru Facebook Fan Page -||- Follow Me on Twitter
If you've been given VBA code (a macro) for your solution, but don't know where to put it, CLICK HERE.
Bookmarks