Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2011, 10:06 PM
macropod's Avatar
macropod macropod is offline How do I get auto-updated "number of days since specified date" on MS word? Windows 7 32bit How do I get auto-updated "number of days since specified date" on MS word? Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,373
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

Hi Terry,



In that case, you'll need a macro-based solution. See attached. There's a 'Document Open' macro in it that automatically updates the first table in the document, which is assumed to have four coulms:
• Patient name
• Operation date
• Post-Op days elapsed
• Discharge date
If you input a date in column 2 (Operation date) column 3 (Post-Op days elapsed) will be updated next time you open the document. Inputting a date in column 4 (Discharge date) will stop column 3's value updating beyond that date. Changing column 4's value will cause the column 3's value to be re-assessed.
Attached Files
File Type: doc PatientRecords.doc (38.5 KB, 97 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 04-22-2011, 01:28 PM
terry795 terry795 is offline How do I get auto-updated "number of days since specified date" on MS word? Windows XP How do I get auto-updated "number of days since specified date" on MS word? Office 2003
Novice
How do I get auto-updated "number of days since specified date" on MS word?
 
Join Date: Apr 2011
Posts: 6
terry795 is on a distinguished road
Default

I really can't thank you enough!

We actually don't need a discharge date column, although that was a very nice gesture. Our other columns are "procedure, antibiotics and to-do", but I think I can add that myself. I attached a snipping of it to this post. How do I rid of the discharge date column?

I think I'm going to read up on Visual Basic coding this weekend. It would be extremely helpful if you would explain how your macro works. I'm sure my resident will ask me to explain how he could incorporate this at the different hospitals he's going to be working at.

Thanks again! You're awesome.
Attached Images
File Type: jpg Pt list ex.jpg (38.0 KB, 64 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wierd symbols inplace of "space", "indentation" etc aka.bhagvanji Word 5 02-16-2012 11:50 AM
How do I get auto-updated "number of days since specified date" on MS word? Is there a way to make the cross-refernce format to be "Only lable and number"? Jamal NUMAN Word 1 04-10-2011 03:31 PM
Creating an Auto-Calc'd Date? Today+7 Days? SoCalTelephone Word 0 10-06-2010 10:27 AM
in WORD, how do i type a 9-digit phone number "xxxxxxxxx" and have it automatically.. jay8962 Word 0 04-08-2010 11:08 AM
"Microsoft Excel Application" missing in the "Component Services" on win08 sword.fish Excel 0 02-26-2010 02:09 PM

Other Forums: Access Forums

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