VBA Excel Requête WEB

Home – Le CFO masqué Forums VBA VBA Excel Requête WEB

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36084
    malabarbe
    Participant

    Bonjour à tous, en Excel 2003 et XP, ce code tourne bien :
     
    With ActiveSheet.QueryTables.Add(Connection:= _
    “URL;http://www.geny.com/partants-pmu/2017-06-26-saint-cloud…”, _
    Destination:=Range(“a1” ))
    .BackgroundQuery = True
    .Refresh BackgroundQuery:=False
    End With
     
    Mais avec Excel 2003 et Windows 10 erreur a la ligne suivante :
     
    Refresh BackgroundQuery:=False

    Malgré beaucoup de recherches, je n’ai pas trouvé de solution.

    #36085
    Francis Paquet
    Participant

    Avez-vous vraiment besoin de modifier la propriété Refresh de cet objet? Si la commande bloque dans cette configuration, enlevez cette ligne de commande.

    Francis

    #36086
    malabarbe
    Participant

    “Avez-vous vraiment besoin de modifier la propriété Refresh de cet objet? Si la commande bloque dans cette configuration, enlevez cette ligne de commande.”

    Qui a pu écrire une anerie pareille ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.