Guys,
I have forwarded some of your very thorough and informative responses to my
cryptology department. In the meantime, I have one question: Why isn't the
entire thread of the query maintained in each posting in order for me or
others to be able to reference previous responses in full and
chronologically? I notice this happens with other postings also.
Thanks,
Rafael
From: Paul Berkowitz <berkowit@spoof_silcom.com>
Newsgroups: microsoft.public.mac.office.word
Date: Wed, 13 Apr 2005 09:17:00 -0700
Subject: Re: Date & Time Default Doesn't Stay Defaulted
Clicking "Default..." in the insert Date/Time dialog will not affect which
item is selected the next time you go into that dialog (the last item
selected in each session is the one that will be selected next time you
bring up the dialog, until you quit/relaunch and it will go back to the
first one in the list).
The "Default" button affects what format is used when inserting a simple
{DATE} or {TIME} field (you can do so using the Header/Footer toolbar or
simply insert the field yourself). Notice that depending which item you have
selected you are either changing the default "Date" or "Time" pref (the
confirmation dialog will tell you which).
It's not stored in the Normal template, this is App-Wide.
Like Daiya mentions in another post, if you don't find the format you want,
you can always insert a {DATE} or {TIME} field with the correct format you
wish manually or with a Macro. Check the Help on Date/Time fields for more
information.
Matt
MacWord Testing
MacBU - Microsoft
PS-> Paul, remember this issue oh so long ago?
Indeed I do. Matt helped me with this many years ago (6?) on the
perhaps-now-defunct Word mailing list - way before I was an MVP or even knew
about these newsgroups. My expostulations at the disappearing so-called
Default Date & Time were exceeding;-). I must have made quite a nuisance of
myself - Matt kindly solved my problems and put me out of my misery. I
imagined he was a serious Microsoft elder statesman at the time - little did
I know he was an adolescent punk with red hair (then - he has since moved
on) - something I discovered only years later.
In fact I still think that the term "Make Default" is misleading - 100% of
users still expect that it will do just that, and 0% expect it will do -
well, whatever it does. Even from Matt's description above, I'm still not
clear on when this supposed "default" format functions as a default.
Matt first gave me another version of the sort of macro Daiya provided, so I
could insert the "British style" "d mmmm, yyyy" (with comma, not available
in Word US list of Date formats) whenever I wanted. I am still very
grateful, and still use it to this day. I later tinkered with it both to
de-select the inserted date and get the cursor to the end (something that
happens automatically with Daiya's version) and also to make it available as
a button in the Standard Toolbar without messing up Normal - I got some help
from the Word VBA MVPs. It took a bit of effort (which fellow MVP Jim Gordon
provided) to find the Date icon's "FaceID" number. You now get the lovely
new modern version of that icon in Word 2004 (this one took a while to make
it into Word). So here it is, or rather here they are, with some
instructions. You can substitute any Date/Time format, including the one
Daiya gave, or even use her version of the Custom Date macro, which is
simpler and maybe better. (And one other thing: I actually keep my Startup
folder in the Microsoft User Data folder in ~/Documents, so it never gets
accidentally replaced by an Office upgrade, with an alias to the expected
location in the Microsoft Office 2004/Office/ subfolder.)
---------------------------
First, open a new blank document. Go to Tools/Macro/Visual Basic Editor.
Insert/New Module.
Paste in the following macros (below), then Save. In the Save Dialog,
switch the File Format popup to Document Template, and Save As: Custom
Date.dot into this folder:
/Applications/Microsoft Word 2004/Office/Startup/Word/
Go to Word/Close and Return to Microsoft Word to get back to the ma
interface.
If you wish, you could paste in this text into the template to remind you
what it does:
"
This template has macros that add a Date-icon button to the Standard toolbar
and insert a custom date "d mmmm, yyyy" when clicked.
Keep this template in Office/Startup/Word/ folder in Microsoft Word 2004
folder.
"
Then close it and quit and relaunch Word. You'll now find a Date icon on the
end of your Standard Toolbar.
[Here are the macros, to be pasted into the VBA Module:]
Sub AddDateButtonToToolbar()
'
' AddDateButtonToToolbar Macro
' Macro created 5/12/03 by Paul Berkowitz
'
Dim newItem As CommandBarButton
Set newItem =
CommandBars("Standard").Controls.Add(Type:=msoControlButton)
With newItem
.BeginGroup = True
.Caption = "Date"
.FaceId = 125
.OnAction = "CustomDate"
End With
End Sub
Sub CustomDate()
'
' CustomDate Macro
' Macro created 5 June 2002 by Paul Berkowitz
'
Selection = ""
Selection.InsertAfter Format(Date, "d mmmm, yyyy")
Selection.Collapse wdCollapseEnd
End Sub
--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <
http://www.entourage.mvps.org/faq/index.html>
<
http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <
http://macscripter.net/scriptbuilders/>
<
http://macscripter.net/scriptbuilders/>
Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.
PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.