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.

Imagen.

publicado

amigos tengo una duda......... tengo la siguiente macro.

Private Sub Worksheet_Change(ByVal Target As Range)

Application.ScreenUpdating = False

On Error Resume Next

foto = Range("b1").Value

ActiveSheet.Image1.Picture = LoadPicture("D:\FOTOS SISTEMA\" & foto & ".jpg")

With ActiveWindow.VisibleRange

Image1.Top = .Top + 5

Image1.Left = .Left + .Width - Image1.Width - 45

End With

End Sub

me ejecuta muy bien........ solo que cuando no esta la foto...... me carga la anterior...... lo que quiero es que cuando no este la foto me muestre el cuadro gris..... ... que se puede hacer...... mil gracias......

Featured Replies

publicado
........ solo que cuando no esta la foto...... me carga la anterior......

No amigo, no, no te carga la anterior, simplemente te deja la imagen que había.

Hay que "borrarla" antes de intentar cargar la nueva.

Private Sub Worksheet_Change(ByVal Target As Range)

Application.ScreenUpdating = False: On Error Resume Next
foto = Range("b1").Value
ActiveSheet.Image1.Picture = LoadPicture("") '<====================
ActiveSheet.Image1.Picture = LoadPicture("D:\FOTOS SISTEMA\" & foto & ".jpg")
With ActiveWindow.VisibleRange
Image1.Top = .Top + 5
Image1.Left = .Left + .Width - Image1.Width - 45
End With

End Sub[/CODE]

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.