Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-25-2019, 11:06 PM
azhr azhr is offline File Name in document formatted as date Windows 10 File Name in document formatted as date Office 2010
Novice
File Name in document formatted as date
 
Join Date: May 2019
Posts: 4
azhr is on a distinguished road
Default File Name in document formatted as date


When i have a file name example "20190526" and i want put it automatically in the word file, and i want the formatting "2019/05/28". how i can do this?

Last edited by Charles Kenyon; 05-26-2019 at 07:21 PM. Reason: Mark as solved
Reply With Quote
  #2  
Old 05-26-2019, 12:47 AM
macropod's Avatar
macropod macropod is offline File Name in document formatted as date Windows 7 64bit File Name in document formatted as date Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

The '/' character is illegal for a filename. Assuming, though, that your filename is always 8 digits, you could insert a FILENAME field into the document, with a numeric switch coded as:
{FILENAME \# "0000'/'00'/'00" }
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
File Name in document formatted as date Copy and Paste from File to File but File Names always change aaronbauer1980 Excel Programming 1 04-15-2016 05:53 PM
Macro to highlight repeated words in word file and extract into excel file aabri Word VBA 1 06-14-2015 07:20 AM
File Name in document formatted as date Title bar in word and ecxel 2010 is not picking up greek file name of 2007 file danielle Word 4 12-03-2014 07:47 AM
File Name in document formatted as date excel cannot open the file .xlsx because the file format or file extension is not val teddysika Excel 1 11-22-2012 06:06 AM
File Name in document formatted as date error: You are attempting to save a file format that is blocked by file block setting zatlas1 Office 8 04-28-2012 02:37 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:46 AM.


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