View Single Post
 
Old 06-13-2012, 10:34 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,512
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 Anie,

Word doesn't have a numbering format that will do this. However, you could do it with a field coded like:
{QUOTE{SET TmVal {SEQ Tm \r 2160}}"{=INT(TmVal/120) \# 0}:{=MOD(INT(TmVal/2),60) \# 00}{=TmVal-1440 \# "PM;AM;PM"}"}
for the starting time, where '2160' is the starting time in minutes since midnight times 2.
Thereafter, a slightly simpler version of the field (which you can copy & paste) can be used:
{QUOTE{SET TmVal {SEQ Tm}}"{=INT(TmVal/120) \# 0}:{=MOD(INT(TmVal/2),60) \# 00}{=TmVal-1440 \# "PM;AM;PM"}"}

Note: The field brace pairs (ie '{ }') for the above examples are created via Ctrl-F9 - you can't simply type them or copy & paste them from this message.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote