Hi All,
The code below is a word macro.
My problem is making it run from access or translating it so it is actioned within the code in access.
Is there anyone that can help???
Sub insertdoc()
Selection.WholeStory
Selection.Cut
ActiveDocument.Close
'Here I would also need a command to stop the save prompt happening.
Selection.EndKey Unit:=wdStory
Selection.InsertBreak Type:=wdPageBreak
Selection.Paste
End Sub
Thanks
Tony
The code below is a word macro.
My problem is making it run from access or translating it so it is actioned within the code in access.
Is there anyone that can help???
Sub insertdoc()
Selection.WholeStory
Selection.Cut
ActiveDocument.Close
'Here I would also need a command to stop the save prompt happening.
Selection.EndKey Unit:=wdStory
Selection.InsertBreak Type:=wdPageBreak
Selection.Paste
End Sub
Thanks
Tony