If you mean you want the time written in the document as opposed to in the
filename then the two macros can easily be combined. Put a docvariable field
{ DocVariable varSaved } at the location where you wish the time to appear.
Sub SaveToTwoLocations()
Dim oDoc As Document
Dim strFileA As String
Dim strFileB As String
Dim strBackupPath As String
Dim oVars As Variables
Dim sDate As String
Dim oStory As Range
Dim oField As Field
'Define the backup location
strBackupPath = "C:\Documents and Settings\Qimi\Desktop\Backups\"
On Error Resume Next
Set oDoc = ActiveDocument
With oDoc
Set oVars = .Variables
'Mark the cursor position with a bookmark
.Bookmarks.Add Range:=Selection.Range, name:="OpenAt"
oVars("varSaved").Value = "Last saved at " _
& Format(Time, "hh:mm")
For Each oStory In .StoryRanges
For Each oField In oStory.Fields
If oField.Type = wdFieldDocVariable Then oField.Update
Next oField
Next oStory
.Save
strFileA = .FullName
strFileB = strBackupPath & "Backup " & .name
.Close 'Close the document
End With
FileCopy strFileA, strFileB 'Copy the document
Documents.Open strFileA 'Reopen the original document
ActiveWindow.View.Type = wdPrintView
'and restore the cursor position
ActiveDocument.Bookmarks("OpenAt").Select
End Sub
--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site
www.gmayor.com
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>