Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 02-05-2018, 12:59 PM
macropod's Avatar
macropod macropod is offline Macro to auto-save pdf using text on page + current date Windows 7 64bit Macro to auto-save pdf using text on page + current date Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

In that case, you could use a macro like:
Code:
Sub SaveAsPDF()
Dim StrName As String
With ActiveDocument
  StrName = "\Boilerplate - " & .BuiltInDocumentProperties("Company") & " - " & Format(Date, "YYYY-MM-DD")
  .SaveAs FileName:=.Path & StrName & ".pdf", FileFormat:=wdFormatPDF, AddToRecentFiles:=False
End With
End Sub
which you could assign to a keyboard shortcut.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
pdf export



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to auto-save pdf using text on page + current date Auto save macro brent chadwick Word VBA 10 10-25-2017 08:26 AM
How to save the current page in a new file with all the page settings (header, footer Jamal NUMAN Word 6 03-15-2012 03:27 PM
Macro to auto-save pdf using text on page + current date How to call current PC date and/or current PC year KIM SOLIS Excel 2 11-04-2011 06:09 PM
Macro to auto-save pdf using text on page + current date Word Macro: Save file as text with current file name jabberwocky12 Word VBA 2 10-22-2010 12:23 PM
Macro to auto-save pdf using text on page + current date Auto insert current month's name and current year Styler001 Word 4 01-25-2010 06:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:16 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft