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.

Ejemplo macro para insertar y copiar hojas, renombrar y borrar imágenes seleccionadas

publicado

Amigos les dejo esta macro con ayuda de AlexanderS para crear una  una hoja en la cual agregue el nombre a la hoja en base a una celda señalada( en este caso es la fecha del informe en la hoja ingreso), además borra solo el botón que asigna  la  macro y borra imágenes pero no todas las imágenes que tengo en la ficha de ingreso ( solo le asigne un nombre al botón que ejecuta la macro . Espero que ha alguien le sirva tanto como me sirvio a mi 

 

Sub guardar()

Application.ScreenUpdating = False

Nombre_Hoja = Format(Range("d13"), "dd-mm-yyyy")

On Error Resume Next
Set hoja = Sheets(Nombre_Hoja)

If Err.Number = 9 Then
    
    Sheets("ingreso").Copy After:=Sheets(1)
    ActiveSheet.Name = Nombre_Hoja
    
     
    For Each shp In ActiveSheet.Shapes
        If shp.Name = "imagenborrar" Then
                   shp.Delete
        End If
    Next
    
    
    Sheets("ingreso").Select

Application.ScreenUpdating = True

Range("c19:e38").ClearContents

MsgBox ("guardado con éxito!!!!")

Else

MsgBox "Fecha del informe ya existe, ¡FAVOR CORREGIR FECHA!!! Y  guardar"

End If

End Sub

Editado el por MIJAF35
rectificar redacción

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.