Want external data to update into a Table?

ddub25

Well-known Member
Joined
Jan 11, 2007
Messages
625
Office Version
  1. 2019
Platform
  1. Windows
I have created an external data connection to a webpage that imports informtaion from the webpage into Excel every 60 mins. I tried to create a table encompassing the information, but Excel warned me that if I did, the external data link would be lost.

Is it not possible to turn a webquery (that continuosly updates from a website) into a table without disrupting the connection?

Dan
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
How are you trying to "create a table encompassing the information" that says the connection will be lost?

Also are you doing the query with 60 minute refresh?
 
Upvote 0
I highlight all the information that's imported by the web query including the header row. On the 'Insert Ribbon' (Excel 2007) I then click 'Table'. A message pops up saying "Your selection overlaps one or more data ranges. Do you want to convert the selection to a table a remove all external connections?"

I click 'NO' because I want the data connection to remain, but doing this I do not get a table.

I have the web query set to refresh every 5 mins.

Dan
 
Upvote 0
Dan,

I am not experienced with using the Insert, Table. I know that if you try to modify the query area in any way you will cause problems.

I would suggest just copying the data from the query area first. Copy just the values to a different area that is not part of any range, or especially any part of the query area that is being imported. Then I would imagine that your next step of selecting this new copied area and then using "Insert, Table" would likely work.

I do a lot of querying, and if I remember right copying that area might be trouble too when query is active (not sure about that). So what I do to avoid any problems is I just have a whole other section that is a copy of the query area using formulas in cells. Then when query updates, those cells will automatically change their values too.

Such as if cell A1 is part of a query area, you could have cell A10 have the formula "=A1". Then you could work with cell A10 instead of A1.

Chuck


Chuck
 
Upvote 0
Thanks Chuck, that is what I thought I'd have to do. Just thought I'd see if it could be done with re-referencing. Thanks again.

Dan
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,813
Members
452,945
Latest member
Bib195

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