Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-03-2014, 07:26 AM
ohi ohi is offline Auto populating dates on timesheet for week from one inputted date Windows 7 64bit Auto populating dates on timesheet for week from one inputted date Office 2007
Novice
Auto populating dates on timesheet for week from one inputted date
 
Join Date: Dec 2014
Posts: 6
ohi is on a distinguished road
Default Auto populating dates on timesheet for week from one inputted date

I have a time sheet that my boss would like me to auto populate the dates on, the problem is, not sure how to accomplish this.



He wants the user to enter the starting date (always a Sun) and it will self calculate the ending date (always on Sat). It will then calculate each day/date going down the page for every day of the week.

I know how to do it in excel and access, but not sure how to do this in word.

I found some code and tried to tweak it to my needs here but it's not working as intended and obviously something's wrong on my end.

Any help would be greatly appreciated. The sample doc is attached. TYIA
Attached Files
File Type: docm timesheet.docm (25.8 KB, 13 views)
Reply With Quote
  #2  
Old 12-03-2014, 03:28 PM
macropod's Avatar
macropod macropod is offline Auto populating dates on timesheet for week from one inputted date Windows 7 64bit Auto populating dates on timesheet for week from one inputted date Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

You really should use Excel for this. Word is a poor second choice for timesheets as anything to do with date & time calculations is either a complex field-coding undertaking or requires the use of macros.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 12-04-2014, 07:23 AM
ohi ohi is offline Auto populating dates on timesheet for week from one inputted date Windows 7 64bit Auto populating dates on timesheet for week from one inputted date Office 2007
Novice
Auto populating dates on timesheet for week from one inputted date
 
Join Date: Dec 2014
Posts: 6
ohi is on a distinguished road
Default

Thanks for the response Macropod, but I did some more digging after tuning my search criteria and happened upon a post you made and your solution worked perfectly for me.

https://www.msofficeforums.com/word/...html#post34394

So thank you again for your response and your help!
Reply With Quote
  #4  
Old 12-04-2014, 12:11 PM
macropod's Avatar
macropod macropod is offline Auto populating dates on timesheet for week from one inputted date Windows 7 64bit Auto populating dates on timesheet for week from one inputted date Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

Yes, and if you look at the field coding in that document, you will see that it is quite complex - just as I said. Word is far from being the ideal tool for this kind of thing and really should only be used as a last resort.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto delete emails in one folder only. after 1 week RoyLittle0 Outlook 0 06-29-2013 09:41 AM
Lack of email addresses auto-populating LarryK Outlook 0 10-10-2012 08:09 AM
Displaying Work Week instead of date in a column. whitney07 Project 1 07-05-2012 02:27 PM
Form file timesheet, auto fill date from calander jkeeney Word 1 03-21-2012 12:21 AM
Auto populating dates on timesheet for week from one inputted date Formula to auto calculate Day of the week based on Date prasad@dmci.ca Excel 1 11-29-2011 01:05 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:45 PM.


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