View Single Post
 
Old 02-08-2015, 10:40 PM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,142
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

It seems you have used a time field, which displays the current time from the system clock and the field is not locked. It would be better not to use a time field but to insert the current time as text and then it can't happen. You could probably do this witha macro, but I am not sure how compatible the Mac is. The following would work on a PC, and may work on a Mac.

There will be no record of the intended time in the document, so there's not a lot that you can do about it.

Code:
Sub InsertTime()
Dim orng As Range
    Set orng = Selection.Range
    orng.Text = Format(Time, "HH:MM:SS |")
    orng.Collapse 0
    orng.Select
lbl_Exit:
    Exit Sub
End Sub
See http://www.gmayor.com/installing_macro.htm
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote