Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / General MS Word Questions / May 2008

Tip: Looking for answers? Try searching our database.

getting automatic date but not checked

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chuckmg - 30 May 2008 05:27 GMT
I have both Word 2003 and 2007 installed on my PC.  In the last couple of
days, I noticed something strange about the dates but now it has become a
catastrophe!  Trying to keep a journal of certain activities and use "insert
time".  IThe automatic checkbox was left unchecked.  But now, when I save
and reopen, ALL of the times are the current time not the time recorded.
This occurs for the time format 7:19 PM, but not for the format 19:15.  And
this occurs in both Word 2003 & 2007 on the PC and Word 2004 on the Mac all
opening up the same file.  With each open the times become the current time
as if the automatic date box was checked.  It is only effecting the times
entered today.  I have a heading date for each day, and then a bullet list
beneath with time stamps at the beginning of each bullet.
Graham Mayor - 30 May 2008 06:29 GMT
It appears the checkbox has become checked? Confirm by presing ALT+F9 to
toggle the fields.
It would be better if you inserted the time/date with a macro as text and
then the issue won't arise. The following macro will insert the current
time.

Sub InsertTimeLowerCase()
   With Selection
       .Collapse Direction:=wdCollapseStart
       .InsertAfter Format(Time(), "h:mm" & Chr(160) & "am/pm")
       .Collapse Direction:=wdCollapseEnd
   End With
End Sub

(you can change the switch to insert the required format and/or add the date
if the above is not to your taste.)
http://www.gmayor.com/installing_macro.htm

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> I have both Word 2003 and 2007 installed on my PC.  In the last
> couple of days, I noticed something strange about the dates but now
[quoted text clipped - 8 lines]
> entered today.  I have a heading date for each day, and then a bullet
> list beneath with time stamps at the beginning of each bullet.
Chuckmg - 30 May 2008 23:49 GMT
Graham,

As you suggested, I had already done a Alt+F9, and the result was
{ TIME  \@ "h:mm am/pm"  }

I entered the code you provided below,  but got a system error with Time
highlighted:
Compile error:
Expected Function or variable.

Chuck

> It appears the checkbox has become checked? Confirm by presing ALT+F9 to
> toggle the fields.
[quoted text clipped - 26 lines]
>> entered today.  I have a heading date for each day, and then a bullet
>> list beneath with time stamps at the beginning of each bullet.
Graham Mayor - 31 May 2008 07:10 GMT
The macro

Sub InsertTimeLowerCase()
   With Selection
       .Collapse Direction:=wdCollapseStart
       .InsertAfter Format(Time(), "h:mm" & Chr(160) & "am/pm")
       .Collapse Direction:=wdCollapseEnd
   End With
End Sub

will work in both Word 2003 and 2007 - check again with
http://www.gmayor.com/installing_macro.htm that you have copied it
correctly.
The macro simply types the current time at the cursor position.
Pressing ALT+F9 merely confirms that you have entered a date field which
will of course update each time you open the document.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor -  Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

> Graham,
>
[quoted text clipped - 47 lines]
>>> day, and then a bullet list beneath with time stamps at the
>>> beginning of each bullet.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.