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.

Pdfs automáticos por tab sólo incluyen una hoja de impresión

publicado

Hola a todos,

Actualmente, tengo la siguiente macro:

Sub Macro1()

Dim i, ultima As Integer

ultima = ThisWorkbook.Sheets.Count

For i = 1 To ultima

ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _

"C:\Users\RootCapital\Desktop\Test Reports\ " & i & ".pdf" _

, Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _

:=False, From:=i, To:=i, OpenAfterPublish:=False

Next i

End Sub

Esta genera automáticamente un pdf para cada tab en mi documento de Excel, los pdf son nombrados 1, 2, 3, 4, etc. Cada pdf incluye sólo la primera hoja de impresión de cada tab, aún cuando algunas contienen 2 o 3 hojas de impresión en total (y el área total de impresión está definida y seleccionada en cada tab).

Lo que deseo pulir es lo siguiente:

  • Que cada pdf incluya todas las hojas de impresión que existan en cada tab
  • Que cada pdf se cree con un nombre específico: La información incluida en la celda B3.

Desde ya gracias por cualquier ayuda que me puedan brindar.

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.