Jump to content
Fórum Script Brasil
  • 0

Conecção Com Web


Guest - Adriano -
 Share

Question

1 answer to this question

Recommended Posts

  • 0
Olá boa tarde.

Gostaria de saber se existe um outro comando fora o ActiveSheet.Connection.pra coletar dados de um página Web.

Grato.

Não conheço, mas que tipo de dados seriam??

veja:

With ActiveSheet.QueryTables.Add(Connection:= _

"URL;http://scriptbrasil.com.br/forum/index.php?act=Post&CODE=06&f=15&t=35007&p=177693" _

, Destination:=Range("A1"))

.Name = "index.php?act=Post&CODE=06&f=15&t=35007&p=177693"

.FieldNames = True

.RowNumbers = False

.FillAdjacentFormulas = False

.PreserveFormatting = True

.RefreshOnFileOpen = False

.BackgroundQuery = True

.RefreshStyle = xlInsertDeleteCells

.SavePassword = False

.SaveData = True

.AdjustColumnWidth = True

.RefreshPeriod = 0

.WebSelectionType = xlEntirePage

.WebFormatting = xlWebFormattingNone

.WebPreFormattedTextToColumns = True

.WebConsecutiveDelimitersAsOne = True

.WebSingleBlockTextImport = False

.WebDisableDateRecognition = False

.Refresh BackgroundQuery:=False

End With

Veja se o obter dados externos/consulta web te ajuda em alguma coisa.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      150.7k
    • Total Posts
      648.4k
×
×
  • Create New...