How to let queried data overwrite the existiing data

L

Lu Wei

When a query is returned, it inserts a new range of data making the old
data move rightward. But I want the new data just overwrite the existing
data, to avoid formula invalidity. Could it be done?
 
D

Don Guillett

When a query is returned, it inserts a new range of data making the old

data move rightward. But I want the new data just overwrite the existing

data, to avoid formula invalidity. Could it be done?

--

Regards,

Lu Wei

PGP key ID: 0x92CCE1EA

Try clearing the existing data first
columns(destcol).clearcontents
 
L

Lu Wei

Try clearing the existing data first
columns(destcol).clearcontents

Clearing the existing data will not work, resulting the cleared blank
columns moved to right by query returned cells. Deleting the existing
data seems should work, but the referenced column in formula (in another
sheet) will become #REF! and cannot recover to original name after query.
 
D

Don Guillett

When a query is returned, it inserts a new range of data making the old

data move rightward. But I want the new data just overwrite the existing

data, to avoid formula invalidity. Could it be done?

--

Regards,

Lu Wei

PGP key ID: 0x92CCE1EA

Send me your file if you like.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top