Saltar al contenido
View in the app

A better way to browse. Learn more.

Ayuda Excel

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

¿COMO IMPORTAR DATOS DESDE LA WEB?

publicado

Buen día a todos, espero me puedan ayudar...
Quiero IMPORTAR UNA TABLA DE "OPERACIONES ABIERTAS" unicamente y que se este actualizando cada determinado tiempo, 
Me marca un error pero no consigo corregirlo, 

Sub ObtenerDatosDeLaWeb()

    Dim htmlDeRespuesta As Object
    
    Dim contadorFilas As Long
    Dim contadorColumnas As Long
    
    Set htmlDeRespuesta = CreateObject("htmlFile")
    
    With CreateObject("msxm12.xmlhttp")
    
        .Open "GET", "http://www.myfxbook.com/members/MiguelSaucedo/991260/5229397/xXdymdQeIfUEo6S2NORp", False
        .send
        htmlDeRespuesta.body.innternal = .responsetext
        
        'MsgBox (htmlDeRespuesta.body.innternal)
        
    End With
    
    With htmlDeRespuesta.GetElementsByTagName("table")(0)
    
    For contadorFilas = 0 To .Rows.Lengthth - 1
    
        For contadorColumnas = 0 To .Rows(contadorFilas).Cells.Length - 1
    
            Sheets(1).Cells(contadorFilas + 1, contadorColumnas + 1).Value = .Rows(contadorFilas).Cells(contadorColumnas).innertext
        Next
    
    Next
    
End With

End Sub

* LA PAGINA ES PUBLICA
 

Featured Replies

No hay posts para mostrar

Archivado

Este tema está ahora archivado y está cerrado a más respuestas.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.