Re: Insert Time Not Updated

From: Dayo Mitchell (dayomitchell_1997_at_NOhotmailSPAM.com.invalid)
Date: 08/08/04


Date: Sun, 08 Aug 2004 13:17:11 -0400

On 8/8/04 8:45 AM, "Elliott Roper" wrote:

> In article <BD3AFE35.32F5%raf44ael98@sbcglobal.net>, Montserrat
> <raf44ael98@sbcglobal.net> wrote:
>
>> Hi,
>>
>> g3 wallstreet pb os 9.2.2
<snip>
>> Here's what I did, thinking I'd set up my time in-time out system:
>> In the "Insert --> Date and Time" box I clicked "8/7/04 8:38 PM" as my
>> format.
>>
>> I left the "Update automatically" check box unchecked.**

Are you sure? Since you can't reproduce it (neither can I, in Word 2001), I
suspect maybe it got rechecked somehow. But a macro is the way to go
anyhow, rather than click 5 different times to use the menu.
>>
<snip>
>> Any clues on how I can get my idea to work properly?
>
> You may be doing something to update the fields in your document
> manually. e.g create table of contents ?

If you Insert Date and Time with that box unchecked, it isn't even a field,
so no way it could possibly update.
>
> In v.X there is a command called LockFields whose keyboard shortcut is
> cmd-3
>
> I'd suggest you create a macro to insert the time and lock it and then
> attach a keystroke to it.

Re this suggestion, Unlinking the field (Unlink Field, which makes it plain
text) is probably more what he wants. But either would work.

Here's the macro I just recorded, Inserting Date and Time with "update"
unchecked. Note that it will *not* be a field. I think you already have the
links on what to do with macros and assigning a shortcut to them, Rafael?

Sub InsertTime()

    Selection.InsertDateTime DateTimeFormat:="M/d/yy h:mm AM/PM", _
        InsertAsField:=False
End Sub

Dayo



Relevant Pages

  • Re: [Luxasm-devel] The "Unified Model"
    ... be done using the _current_ design of the macro system and some ... the directives -- I will address what and where momentarily. ... done in the NASM macros I am using to write Luxasm.) ...
    (alt.lang.asm)
  • Re: Difference between a MACRO and a FUNCTION
    ... waste some of the time of every attentive programmer who reads it. ... this macro, I'm likely to waste time convincing myself that the macro ...
    (comp.lang.c)
  • Re: "action" in UK33496
    ... that no new OP code or macro will intrude on the space ceded to users. ... The component prefix registry could be used for this, ... I would, sort of, like HLASM to implement "namespaces". ...
    (bit.listserv.ibm-main)
  • Re: what will be the value of #define
    ... convention for ensuring that multiple inclusions of header files ... #ifndef FRED_H ... then the first inclusion will have the macro "FRED_H" undefined, ...
    (comp.lang.c)
  • Re: Inserting time with ctrl+shift+: always shows 00 for seconds
    ... You could run a macro ... instead of using that shortcut: ... Sub InsertTime() ... With ActiveCell ...
    (microsoft.public.excel.misc)