Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-15-2016, 02:46 PM
Andkins Andkins is offline Word file naming macro Windows 7 32bit Word file naming macro Office 2007
Novice
Word file naming macro
 
Join Date: Oct 2016
Posts: 1
Andkins is on a distinguished road
Default Word file naming macro

I have a Word document that my team uses as a template for letters to clients. The file name is the same as the name of a related PDF document but with an added suffix or two.

It's easy to copy the PDF file name and paste it as the Word file name then add the suffix, but is there a way to program Word to pull that information automatically? The suffix is the author's initials, and sometimes another code, so it has to be added manually.



Additionally, or perhaps alternatively, a couple fields in the letter repeat information in the file name. The file name is always Recipient_ClaimNumber_InvoiceNumber, and the letter has fields for the claim and invoice number. (The underscores are part of the file name.) Is it possible to populate those fields in the letter by drawing from the file name? Is it easier to have the file name draw from the letter? The Recipient part of the file name is a short version of a longer name used in the letter, and does not consistently reflect the recipient name.

I don't know anything about programming or macros, so I'll need as much patience and detail as you can give me. I'm trying to learn how to expand beyond the basic elements of Office programs. Thanks for your help and guidance.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to put 1 word of a MS Word file in 1 cell of a Word or Excel Table Singh_Edm Word VBA 6 11-13-2015 08:48 PM
Macro to highlight repeated words in word file and extract into excel file aabri Word VBA 1 06-14-2015 07:20 AM
Auto file naming Rong Peng Word VBA 0 07-29-2011 07:37 AM
Word file naming macro Word Macro: Save file as text with current file name jabberwocky12 Word VBA 2 10-22-2010 12:23 PM
Auto-File Naming/ Default Directory Saves sgill32 Word 2 11-06-2008 02:12 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:37 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