Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Insert Date command in Word 2010. Don't want it to change when re-opening doc later

  • 03-07-2013 10:58am
    #1
    Registered Users, Registered Users 2 Posts: 3,527 ✭✭✭


    Hi...

    Is there an Add-On on Work that I can Insert today's date (03 July, 2013) into a word doc BUT when I open it again tomorrow- the date should stay at the 03rd rather than update to the 4th??


Comments

  • Registered Users, Registered Users 2 Posts: 5,150 ✭✭✭homer911


    :confused: Why not just type today's date?


  • Registered Users, Registered Users 2 Posts: 758 ✭✭✭platinums


    Alt+Shift+D: Insert the current date into your text. This command inserts a content control into your document — text that can be updated.


  • Registered Users, Registered Users 2 Posts: 758 ✭✭✭platinums


    The above may update if document is set to update automatically when opened, this can be changed in the options.

    You can Create a Macro and assign this code. This inserts Todays date as a Static peice of Text and will not update.
    Sub Static_Date()
    Selection.InsertDateTime DateTimeFormat:="dd/MM/yyyy", InsertAsField:= _
    False, DateLanguage:=wdEnglishIreland, CalendarType:=wdCalendarWestern, _
    InsertAsFullWidth:=False
    End Sub

    Im not sure if you know how to do that so here are the steps.
    Open Word. Press ALT+ F11
    Look on the left side pane near the top find "Modules", right click -> Insert Module.

    A new Blank module opens on the Right hand Pane, Paste in the text i gave you. Save

    Now Assign the Macro to a shortcut, or a toolbar Button, there you go you created your Own Addin.


  • Registered Users, Registered Users 2 Posts: 3,527 ✭✭✭Masala


    Platimium..... That was what I was trying to say !!!! a MACRO !!!

    I'll try that out and see

    Many thanks


  • Registered Users, Registered Users 2 Posts: 758 ✭✭✭platinums


    ...am now going to change my moniker to "Platimium" much cooler.


  • Advertisement
  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 93,591 Mod ✭✭✭✭Capt'n Midnight


    slightly off topic

    Pressing F5 in notepad adds current date/time

    and because it's text it doesn't change




Advertisement