Table into Word

  • Thread starter Thread starter Stephen Lynch
  • Start date Start date
S

Stephen Lynch

Is their an easy way to code a table to be placed into word. I am using
Access and Word 2007.

I placed a bookmark. And I need a starting point.

Thanks
 
I just copied and pasted this from one of my apps. I am not sure exactly
what you are trying to do, but this may be what you need:

Set objWord = CreateObject("Word.Application")
Set rst = Me.RecordsetClone
With objWord
' Open the document.
.Documents.Open (ProposalLocation & "Proposal.docx")

' Move to each bookmark and insert text from the form.
.ActiveDocument.Bookmarks("BidTo").Select
.Selection.Text = (CStr(rst![GCName]))
.ActiveDocument.Bookmarks.Add "BidTo"
End With
set objWord = nothing
 
Back
Top