?
Solved

Sequential diary dates MS word

Posted on 2013-06-15
5
Medium Priority
?
676 Views
Last Modified: 2013-06-18
Could anyone give me simple instructions please ?

I want to print off a diary, a day to two pages, with sequential dates from todays date in the top corner.

Can I do this in MS word and if so how ?

thankyou
0
Comment
Question by:Europa MacDonald
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 33

Accepted Solution

by:
Paul Sauvé earned 2000 total points
ID: 39250355
You can insert the section number in the header of your document. Then write the month and year after the section number.

Then every second page, create a new section and the 'day' of the month will increment by 1.

I found the answer here: Legal Office Guru - Reader Question: Incrementing numbers in headers. Please watch the video...

Here is an example.
Date-increment.docx
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 39250428
You would almost certainly need to use VBA to calculate the dates, so it is advisable that you are comfortable with VBA macros.
Here is a simple macro to do the job. You need to have a new blank document open and selected.
Sub MakeDiary()
    Dim d As Integer
    Dim dt As Date
    Dim strDate As String
    
    For d = 0 To 6
        dt = DateAdd("d", Now, d)
        strDate = Format(dt, "dd/MM/yyyy")
        ActiveDocument.Bookmarks("\EndOfDoc").Range.Text = strDate & vbCr & Chr(12) & strDate & vbCr & Chr(12)
    Next d
End Sub

Open in new window


If you aren't familiar with the VBA environment, there are basic instructions after the last block of code in this article:
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Word/A_7236-Macro-code-to-convert-text-to-fields-in-Microsoft-Word.html

There is a more detailed article here:
http://msdn.microsoft.com/en-us/library/office/ff604039%28v=office.14%29.aspx
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 39250435
Hey Paul,
I'm surprised to see that I had the (then unanswered) question open for more than an hour while compiling my comment. I will look at your link with interest.
0
 
LVL 33

Expert Comment

by:Paul Sauvé
ID: 39250447
Hi Graham - quite often, it's the other way around! Have a good day!
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 39256171
MichaelGlancy,

I notice that you have posted a similar question for Excel.

Do you need any further help to do this in Word?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question