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...

Some videos you may like

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top