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 pdf predeterminada

publicado

Hola ..

Como estan..Espero que bien..

si Por favor me podrian ayudar con este codigo


Sub guardarhoja()
ActiveWorkbook.Save
Application.Dialogs (xlDialogSaveAs)Show


End Sub[/CODE]

sucede que cuando Lo ejecuto Sale El Dialogo de Guardar Como..

Me sale Predeterminado en formato Excel..

Habría Alguna Forma Que Saliera ya elejido en Formato Pdf?

asd.rar

Featured Replies

publicado
Hola ..

Como estan..Espero que bien..

si Por favor me podrian ayudar con este codigo


Sub guardarhoja()
ActiveWorkbook.Save
Application.Dialogs (xlDialogSaveAs)Show


End Sub[/CODE]

sucede que cuando Lo ejecuto Sale El Dialogo de Guardar Como..

Me sale Predeterminado en formato Excel..

Habría Alguna Forma Que Saliera ya elejido en Formato Pdf?

Hola

Prueba cualquiera de estas dos opciones

Este abre el dialogo imprimir, lo que tienes que haces es cambiar la "impresora" por "Adobe pdf" das click en aceptar y luego te aparecera el cuadro de dialogo "Guardar Pdf como" y luego ya sabes que hacer...

[PHP]Application.Dialogs(xlDialogPrint).Show[/PHP]

13zstx1.jpg

Esta opcion te funcionara a partir de 2007, te guardara el pdf en la misma carpeta contenedora de tu libro

[PHP]With ActiveWorkbook
.ExportAsFixedFormat Type:=xlTypePDF, Filename:=.Path & _
Application.PathSeparator & .Name & ".Pdf", _
Quality:=xlQualityStandard, OpenAfterPublish:=True
End With[/PHP]

Espero te funcione y nos comentas

Saludos

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.