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.

Ayuda urgente varias macros en una hoja

publicado

Buen dia!

Por favor solicito urgente ayuda en varias macros que tengo para una misma hoja.

la primera que presento se refiere a una macro de busqueda en multiples hojas es vital para la actividad que realizo. El detalle es este:

Option Explicit

Private Sub Worksheet_Activate()

End Sub

Private Sub Worksheet_Change(ByVal Target As Range)

If Intersect([Codigo], Target) Is Nothing Then Exit Sub

If Not [bAuto] Then Exit Sub

Buscar

End Sub

La segunda que quiero incorporar es una que me asocie una base de datos a selecionar la celda. Cuando la aplico sola responde perfecto pero al intertar incorporarla me da un error . este es su codigo

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

On Error GoTo Salida

If Target.Column = 4 Then

foto = Target.Value

ActiveSheet.Image1.Picture = LoadPicture("F:\foto para los carnet\" & foto & ".jpg")

End If

Exit Sub

Salida:

End Sub

Por favor! como hago para que estas macros funciones en la misma hoja ayudaaaaaaaa

saludos!!!

Victor

vperez21@gmail.com

Featured Replies

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.