![]() |
#1
|
|||
|
|||
![]()
I'm using MS Word 2010 Professional Plus version 14.0.6112.5000 (32-bit)
I'm typing time within brackets and I want it to be sequenced like this: [6:01pm] <Trudy> how have u been? [6:02pm] <Adrian> good [6:03pm] <Trudy> missed u @ Beeniez [6:04pm] <Adrian> 2broke2go I don't want to keep typing the time within brackets. I am hoping there's a way that it can be automatically sequenced when I hit enter and go to the next line. Even better would be the ability to have every other line sequenced so that it could like real chat-text: [6:01pm] <Trudy> how have u been? [6:01pm] <Adrian> good [6:02pm] <Trudy> missed u@ Beeniez [6:02pm] <Adrian> 2broke2go Thanks in advance for your help. Anie Nham |
#2
|
||||
|
||||
![]()
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] |
#3
|
|||
|
|||
![]()
Thanks for the quick response, Paul.
![]() I'm going to try it now to see how it works out. I'll inform you of my success with it. |
#4
|
|||
|
|||
![]()
Paul,
Can I do this in Autocorrect? Or do I have to go to Quick Parts> Field>Seq or Quote? Anie |
#5
|
||||
|
||||
![]()
What you could do is create two custom Quick Parts - one for the initializing field and one for the continuation field.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
IE Object: Run-time problem (the link is not clicked in run-time but not in step-in | tinfanide | Excel Programming | 1 | 03-04-2012 12:05 AM |
![]() |
derelyth | Excel | 4 | 03-27-2011 04:31 PM |
automatically replace it's, it'll, ... | Shikamu | Word | 3 | 10-04-2010 11:58 AM |
![]() |
prroots | Outlook | 1 | 06-29-2010 10:56 AM |
appear automatically word! | dapdupdap | Word | 2 | 10-27-2009 11:07 AM |