Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Hello,
I have a database that can be mereged to word, this is the VBA in my dbase form: Private Sub cmdMerge_Click() Dim strMsg As String ' merge the doc If IsNull(Me.lstFiles) = False Then Call RidesMergeWord(strDirPath & Me.lstFiles & ".doc", strDirPath, strOutDocName) DoCmd.Close acForm, Me.Name Else ' Note: This is message string #1. strMsg = DLookup("MessageString", "[Lookup Message String_Qry]", "[FormName] = '" & Me.Name & "' AND [StringNumber] = 1") MsgBox [strMsg], vbExclamation, "Word Merge" End If End Sub In the word template that to be merged, I put date field, so that when I perform the merge, it has the date created. When it performed the merge today in Oct 20, 2009, I saved the document in other name, say " membership transfer of Mr. A", then when I opened the word of membership transfer of MR. to morrow the date becomes Oct 21, 2009. What should I do to keep it the same date as when the merged is performed. I have tried to changed it to created date, but it shows the date when the template is created although I have saved it in other name, it still shows the old date. Thanks for any help. Frank |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I prevent word from changing the date when a doc is opened. | Microsoft Word Help | |||
Can I Insert a date that will automatically update when opened to 1MONTH FROM CURRENT DATE? | New Users | |||
Stop changing the date of a previously saved doc to today's date! | Microsoft Word Help | |||
How to post a date 30 days from the "date opened" in a cell of a . | Tables | |||
Date on letter changes to current date when opened - how to stop. | Microsoft Word Help |