Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-01-2018, 11:26 AM
hysterical.useless hysterical.useless is offline Macro to auto-save pdf using text on page + current date Windows 10 Macro to auto-save pdf using text on page + current date Office 2016
Novice
Macro to auto-save pdf using text on page + current date
 
Join Date: Jan 2018
Posts: 12
hysterical.useless is on a distinguished road
Default Macro to auto-save pdf using text on page + current date

I have done a bit of research on this topic, but can't seem to find exactly what I am looking for. I would like to create a macro - preferably a keyboard shortcut over a button - that will allow me to automatically create a pdf copy of the document using a specific naming convention. This is the naming convention:

Boilerplate - Lorem Ipsum - Date

Where "Boilerplate" is the same text every time, regardless of the document; "Lorem Ipsum" is text found on the page, highlighted in red in the attachment; and "Date" is the current date in the "yyyy-mm-dd" format.

I'd prefer the pdf to save wherever the document is, but if that is a hassle to code, saving to the desktop would be fine.

Finally, I was just introduced to Word's field code display feature (thanks macropod!) and am wondering if it's possible to use that (or another feature) to create "linked text"; in other words, text that changes based on designated reference text. For example, in the attachment, I've highlighted two instances of "Lorem ipsum". I'm looking for a way to change the first instance that instantly changes the other instance in the table. I assume this can be accomplished using the bracketed ( {{}} ) field code display, but I'm not sure. This is important to the pdf macro, because it draws on this text to create the filename.

Let me know if you have any questions; thanks in advance!
Attached Images
File Type: png template example.PNG (38.8 KB, 22 views)
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 02:46 PM.


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