Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-01-2012, 06:41 AM
tchase01 tchase01 is offline Macro for tomorrow's Date Windows 7 64bit Macro for tomorrow's Date Office 2007
Novice
Macro for tomorrow's Date
 
Join Date: Feb 2012
Posts: 2
tchase01 is on a distinguished road
Default Macro for tomorrow's Date


Here is an example of what I am trying to do below, search for the 'datezzz' and replace it with the following days date '20120302'. I have many articles in one file that i need to make this change to. I am using Word 2007. The datezzz format is just text, but I need it to be a date in text format 'yyyymmdd' as in the examples below:

Original

<article>
<filename>article.xml</filename>
<timestamp>04:00:27</timestamp>
<pubdate>datezzz</pubdate>
<section>Business</section>
<taxonomy>13</taxonomy>
<keyword></keyword>


Replacement

<article>
<filename>article.xml</filename>
<timestamp>04:00:27</timestamp>
<pubdate>20120302</pubdate>
<section>Business</section>
<taxonomy>13</taxonomy>
<keyword></keyword>


Thanks for looking and trying to help!!!!
Reply With Quote
Reply

Tags
date, find and replace, macro

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro for tomorrow's Date Meaning of current date vs status date when saving baselines ketanco Project 1 02-08-2012 02:20 PM
Macro for tomorrow's Date need help with macro date and time for dispatch sheets Jamesb8488 Word 1 04-28-2011 02:54 PM
Macro date and match valor cg1980 Excel Programming 0 04-12-2011 09:38 AM
Macro for tomorrow's Date Need urgent help .. lost 6 hours of work .. assignments due in tomorrow Phatmat Word 1 10-15-2009 08:38 AM
Macro for tomorrow's Date Imported message date change to today's date promark Outlook 1 12-23-2005 07:21 AM

Other Forums: Access Forums

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