![]() |
#1
|
|||
|
|||
![]()
Is it possible to create a macro that inserts a date before the text, each time you write something new in a table cell, after you have saved?. For example in column 3.
column 1 | column 2 | 21.04.2014 text, text, text, text. |
#2
|
||||
|
||||
![]()
Not unless you're using 'Track Changes' and, even then, updating a cell after you've saved seems pretty pointless, since the update won't have been saved, meaning you'll have to save again to retain it and that will trigger a new round of updating the cell and saving, ad infinitum...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
The idea is that there will always be a date before each new event that is written in the same cell. It could of course be written manually, but when there are several different people using the same document, it is often forgotten</SPAN>
|
#4
|
|||
|
|||
![]() Quote:
I think we understand what you want, but it remains a fact that typing something into the cell is not a useable (triggerable) event. |
#5
|
|||
|
|||
![]()
Ok thanks for reply
|
#6
|
|||
|
|||
![]()
What you could do is have a small macro that you fire with, say, a keyboard shortcut. It could insert your date. So type your text and then your shortcut.
Code:
Dim r As Range Set r = Selection.Range.Cells(1).Range r.Collapse 1 r.Fields.Add r, Type:=wdFieldDate |
#7
|
|||
|
|||
![]()
This was a good idea that will work
Thanks a lot |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Make table cell active add date count date | MelHerndon | Word VBA | 3 | 01-21-2013 04:23 PM |
![]() |
theMikeD | Word | 2 | 09-11-2012 05:46 PM |
![]() |
WLVanS | Word | 12 | 01-29-2011 04:01 AM |
How can I make a cell color RED under the Today's date cell? | Learner7 | Excel | 2 | 07-08-2010 12:52 AM |
Auto-populate an MS Word table cell with text from a diff cell? | dreamrthts | Word Tables | 0 | 03-20-2009 01:49 PM |