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.

Proteger Hoja Anterior VBA

publicado

Hola amigos AE.

Una consulta. ¿Existe un comando de proteger la hoja previa o anterior? No me sirve colocarle nombre de la hoja pues la dinámica del proyecto cambia el nombre.

Gracias!!!

Featured Replies

publicado
Hace 2 horas, Leonardo Briceño dijo:

¿Existe un comando de proteger la hoja previa o anterior?

Hombre, comando como tal no (que yo sepa), pero puedes usar algún truco, tipo:

For i = 1 To Sheets.Count
    If Sheets(i).Name = ActiveSheet.Name Then
        Sheets(i - 1).Protect
    End If
Next i

 

publicado
  • Autor

Hola @Haploxcomo estás. Un abrazo amigo

Bueno me refería exactamente a la última hoja que se usó. No necesariamente deben estar seguidas. Puede ser hoja activa la 5 y la ultima que se usó antes la 17. La 17 es la que quiero proteger. Claro cada hoja tiene su nombre 

En excel el español debe ser preciso, jajajajaja

Yo he estado buscando en la red pero no he conseguido nada.

 

Editado el por Leonardo Briceño

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.