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.

Objeto internetexplorer.application con excel 2010

publicado

Buenas a todos,

Soy nuevo en el foro, tengo el siguiente código que me funciona perfectamente en versiones anteriores a Excel 2010 (para hacer login en una página web, no puedo indicarla por razones de seguridad), sin embargo, soy incapaz de hacer que funcione para esta versión de office. Más concretamente me da error cuando entra en "ie.Document", ¿alguien me podría decir cómo hacer que funcione?

Código:

Private Sub WEB_Click()

Dim ie As Object

Dim login_name

Dim password

Set ie = CreateObject("InternetExplorer.Application")

With ie

.Navigate "**URL**"

.Visible = 1

Do While ie.Busy

Loop

End With

Do While ie.Busy

Loop

With ie.Document

DoEvents

Application.Wait Now + TimeValue("00:00:01")

.all("user").Value = Range("D1")

.all("password").Value = Range("D2")

Application.Wait Now + TimeValue("00:00:02")

End With

Set ie = Nothing

End Sub

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.