querytable.refresh

  1. R

    Problem with refreshing a query table

    I've tried so many variations on this code and still getting an error: "Object doesn't support this property or method." Sheets("Acknowledgements").ListObject("tblNotAckPrepped_2").QueryTable.Refresh BackgroundQuery:=False I just want to refresh a query table on a worksheet. The names of the...
  2. S

    Query table before refresh event not calling

    I have set up a query from a pervasive sql database and would like to write some code that should execute before the query table is refreshed. I have put the following code in the sheet1 object where the table is located. This is just to see if I can get the before refresh event to work: Private...
  3. J

    Incomplete Datasource Error when Queryinf Another Workbook

    I have the following VBA code which is failing with an "incomplete datasource" error on the last line: Application.ScreenUpdating = False Worksheets(Import).Select Range("F10").Select Selection.ListObject.QueryTable.Refresh BackgroundQuery:=False The name of the ListObject is...
  4. O

    Download txt using QueryTables

    Hi all, I am trying to download a txt file using the following code. It is only downloading a few line of data and am not sure why. Any help is greatly appreciated. Thanks, O Sub Download() With Sheets(2).QueryTables.Add(Connection:="URL;http://www.asx.com.au/data/TheoPrices.txt"...
  5. D

    QueryTables.Refresh and Insert SQL

    Hi, This is my 1st post on Mr Excel! - For years I just read and used solutions posted by others but I finally registered and hope I can also post something that somebody else can use. I have a list of MySQL databases (All sitting on remote machines) which I want to extract information from...

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