Copy contents of fixed cell address on sheet that is refreshed via web query

suprsnipes

Active Member
Joined
Apr 26, 2009
Messages
434
I'm having alot of trouble with the following.

I have a web query updating in the background and I want to copy the cell address below if it is not equal to "" from sheet cm to A1 on sheet 2 but I am having a problem. When the web query is updated and the contents of the cell address cm!A11 goes from being "" to containing data for some reason my formula is shifted down a cell to cm!A12 and so on. How can I work around this?

NB: I have tried using absolute values and I encounter the same issue.

Regards,
suprsnipes
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Check the settings on the query table. When it refreshes one option is to insert new rows instead of overwriting existing rows. I think that is the issue for you.

Denis
 
Upvote 0
That was it exactly.

I now have the following option selected;

"Overwrite existing cells with new data, clear unused cells"

Cheers.
 
Upvote 0

Forum statistics

Threads
1,224,581
Messages
6,179,668
Members
452,936
Latest member
anamikabhargaw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top