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.

Crear macro con titulo Pedido Fecha y Hora

publicado

Hola!!

Un favor, tengo esta macro:


Sub Guardarenpdf()
'
' Guardarenpdf Macro
'
'
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
"C:\Users\j.valencia\Documents\Pedidos nacional\Formato Pedido Norte Chico.pdf", Quality _
:=xlQualityMinimum, IncludeDocProperties:=True, IgnorePrintAreas:=False, _
From:=1, To:=1, OpenAfterPublish:=False
End Sub[/CODE]

Hay forma de poderle incluir al titulo fecha y hora?

Por favor ayudenme!

Gracias!!

Featured Replies

publicado

hola!!! puedes probar esto...

[COLOR=#333333]Sub Guardarenpdf()[/COLOR]
[COLOR=#333333]'[/COLOR]
[COLOR=#333333]' Guardarenpdf Macro[/COLOR]
[COLOR=#333333]'[/COLOR]
[COLOR=#333333]'[/COLOR]
[COLOR=#333333]ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _[/COLOR]
[COLOR=#333333]"C:\Users\j.valencia\Documents\Pedidos nacional\Formato Pedido Norte Chico "[/COLOR][COLOR=#ff0000][B] & date & "--" & time & [/B][/COLOR][COLOR=#333333]".pdf", Quality _[/COLOR]
[COLOR=#333333]:=xlQualityMinimum, IncludeDocProperties:=True, IgnorePrintAreas:=False, _[/COLOR]
[COLOR=#333333]From:=1, To:=1, OpenAfterPublish:=False[/COLOR]
[COLOR=#333333]End Sub[/CODE]

saludos espero que te sirva!!![/color]

publicado

[note]

Las fórmulas o códigos es necesario envolverlos con etiquetas tal y como se indica en las Normas del Foro en su punto 2.19, más detalles en el siguiente enlace.

Envolver fórmulas y códigos con etiquetas en los mensajes

[/note]

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.