• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Data moves when query refreshed

BSmith

New Member
When I refresh my query from my data source some of the cells shift around in the data table. The cells that are shifting are being manually entered next to the query data. Each time the query is refreshed, the cells shift down x number of rows. Then when the query is refreshed again, the cells shift back to their original place. Any insight into this problem??
 
Check the query options possibly? I know there's a setting for how new data is entered either:

a) Overwrites old data

b) Inserted above old data

c) Added to old data

This might also be tied into the option about extending formulas? (guess)


Again, I'm making a lot of guesses here, hopefully it helps.
 
Hi BSmith,


I´m having the exact same problem. On a simple MS Query with 4 columns as an Excel Table, If you enter data in the adjacent column and hit refresh, the data jumps randomly all over the place, destroying the record integrity... ¿Were you able to figure this out? ¿How did you fix it?

Thanks a lot!


Archmaster
 
@all

Hi!


As Luke M said your queries might be inserting data instead of overwriting it.


a) If you use a manual query.

- Select a cell from the query output.

- Go to the Data tab, Connections group, Properties icon.

- Select Overwrite Existing Cells.

- Accept.


b) If you use a macro.

Change the refresh style to overwrite in the VBA code:

-----

Code:
.RefreshStyle = xlOverwriteCells

-----
 
Back
Top