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.

Guardar hoja solo rango especifico en nuevo libro sin formulas

publicado

buenos dias amigo estoy usando una macro para guardar hoja activa de un libro la macro es excelente ya que ejectuta todo lo que necesito y guarda en la ruta que quiero, el detalle es que esta guardando la hoja con las formulas y botones que ya existen en ella, y solo quiero que guarde la hoja pero en un rango especifico que seria "A1:V100"

la macro es la siguiente:

Sub GUARDAR_NOMINA()
Dim fileSaveName As Variant
Dim filePath As String
Application.ScreenUpdating = False
If MsgBox("Esta seguro de Guardar la Nomina?", vbYesNo) = vbNo Then
Exit Sub
End If
filePath = "Z:\Relacion laboral\GUARDERIA\"
Sheets("NOMINA").Copy
fileSaveName = InputBox("Coloque Nombre a la Nomina", "información")
If LTrim(RTrim(fileSaveName)) <> "" Then
Application.DisplayAlerts = False
ActiveWorkbook.SaveAs Filename:=filePath & " " & fileSaveName
Application.DisplayAlerts = False
MsgBox "Guardado de la Siguiente Manera:" & Chr(13) & Chr(13) & _
ActiveWorkbook.Name & _
ActiveWorkbook.Path
Else
MsgBox "Proceso Interrumpido la Nomina no fue Guardada."
End If
ActiveWorkbook.Close False
Application.ScreenUpdating = False
End Sub[/CODE]

gracias por su ayuda

NOMINA.rar

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.