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.

Conectarse a una base de datos con Adodc

publicado

Estoy haciendo una macro para un pc de windows XP y office 2003 y al utilizar esta estructura

Private Sub Adodc3_MoveComplete(ByVal adReason As ADODB.EventReasonEnum, ByVal pError As ADODB.Error, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
Adodc3.Caption = Adodc3.Recordset.AbsolutePosition
If BLOQUEO_ADODC3 = 0 Or adReason = 13 Then

If Adodc3.Recordset.AbsolutePosition > 0 Then
Call Rellenar
End If
End If

End Sub[/CODE]

Me devuelve el siguiente error

[CODE]Error de compilacion:
La declaracion del procedimiento no coincide con la descripcion del evento o el procedimiento que tiene el mismo nombre[/CODE]

Las referencias que tengo activas son:

[CODE]Visual Basic For Applications
Microsoft Excel 11.0 Object Library
OLE Automation
Microsoft Office 11.0 Object Library
Microsoft Forms 2.0 Object Library
Microsoft ADO Data Controls 6.0 (OLEDB)
Microsoft ActiveX Data Objects 2.0 Library
Microsoft DAO 3.6 Object Library[/CODE]

Si cambio la ocx msadodc de xp por la de windows 2000 me devuelve el siguiente error

[CODE]Error de compilacion:
No se ha definido el tipo definido por el usuario[/CODE]

Por favor necesito utilizar este control y me estoy volviendo loco.

Muchas gracias por vuestro tiempo

Featured Replies

publicado
  • Autor

Parece ser que era un problema con los .net

No puedo ser mas claro. Porque no lo comprendo demasiado peroinstale en el windows server 2003 el .net framework 1.1 y empezo a funcionar :D

Podeis dar el tema por cerrado pero si alguien sabe algo mas al respecto me seria muy util

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.