What version of Access do you have as there are some changes with what macro actions are called. The action in question is DoMenuItem but it is called something different in later versions of Access. I think from after Access 97.
Have you made any macros before? That way we will know where to start.
If you have Access XP 2002 the code will be slightly different so I may have to paste some code on here... as a matter of fact I will go ahead and post my code on here. It actually doesnt put the information in a certain spot because I wasnt using bookmarks, as well as it creates a new word document not a predefined one though that isnt hard to change. Just compare mine with Mike375 and you should be able to go from there.
Option Compare Database
Dim appWD As Word.Application
Dim docWD As Word.Document
Public Function cstInfo()
Dim frmCurrForm As Form
Dim strPartID, strDescription, strTmpPath As String
Dim intPounds As Integer
Dim curTotalCost As Currency
Set frmCurrForm = Screen.ActiveForm
'Set strTmpPath = "c:\Documents and Settings\Jarvis\My Documents\"
'strPartID = frmCurrForm.PartID
strPartID = .PartID
strDescription = .Description
intPounds = .Pounds
curTotalCost = .TotalCost
' objPicture = .Picture
Set appWD = CreateObject("Word.Application")
appWD.Visible = True
Set docWD = appWD.Documents.Add
appWD.Selection.TypeText (strPartID & vbCrLf & strDescription & vbCrLf & intPounds & vbCrLf & curTotalCost)
'appWD.Templates = strTmpPath & "PartID.dot"
I have an alternate solution that involves rich text, if you would like to take a look. The attached sample is developed in A2K and works fine when I'm at work in a Windows XP OS; but has some difficulties on my home computer in a Window Me OS. Never the less, it works. It contains 4 tabs on a tabcontrol and each tab has a rich text field. Enter data in any of the rich text fields and click the save icon. Then with the cursor in the rich text field, do a right click and my "rftZoomEditor" pops up with a number of edit buttons that are similar to MS Word. You should be able to edit and format your text. To place images, just drag them from their source and drop them in the rich text field. You can also cut and paste them. I would have left images in this sample, but the file size is to large to post in a forum. Let me know how it works for you. I'm still looking for a spell checker that works in rich text.