Good morning all...
I'm running into the "This won't work because it would move cells in a table..." issue. I'm building an Excel report (can't use Power BI at this point) that requires two tables on a sheet tab, one above the other. Both tables are generated by Get and Transform queries that place them on the sheet tab.
With this format, I can't add (or presumably) remove rows from the top table without generating the error. I'm not sure why separating the tables by enough rows to ensure that the top table won't grow enough to move the bottom table (since the tables are generated with absolute references) doesn't work, but I'm presuming Excel wants to retain the same separation.
I can work around the problem by generating the bottom table to the side and then moving it to the desired position after running the query refresh, but this is obviously going to be a bit kludgy for my end-user (my boss) to use as a solution.
I'm looking to see if there is a reasonably simple method (due to my limited VBA knowledge) to have the tables generate as desired without manual intervention. Once I've got the method down, then I can build a new template for him to use...
Thanks!
I'm running into the "This won't work because it would move cells in a table..." issue. I'm building an Excel report (can't use Power BI at this point) that requires two tables on a sheet tab, one above the other. Both tables are generated by Get and Transform queries that place them on the sheet tab.
With this format, I can't add (or presumably) remove rows from the top table without generating the error. I'm not sure why separating the tables by enough rows to ensure that the top table won't grow enough to move the bottom table (since the tables are generated with absolute references) doesn't work, but I'm presuming Excel wants to retain the same separation.
I can work around the problem by generating the bottom table to the side and then moving it to the desired position after running the query refresh, but this is obviously going to be a bit kludgy for my end-user (my boss) to use as a solution.
I'm looking to see if there is a reasonably simple method (due to my limited VBA knowledge) to have the tables generate as desired without manual intervention. Once I've got the method down, then I can build a new template for him to use...
Thanks!