Hey all
Hope everyone is having a good holiday. I have a problem. I used the code below to help in automation of a word document. This code pulls a text field from multiple records and places them on this one document.
Since this document now has all the information I need to retrieve, I want to copy what is on this one document and have it display on the other 4 documents that I need to open with automation without having to do a manual cut and paste. I want the application to handle it. Does anyone know what code I can use to do that with for the other documents?
Thanks
Kim
Code:i = rs.RecordCount Do While i > 0 objWD.activedocument.Bookmarks.Item("Actions").Range.Text = frmAircraftWO.rtxtActions & vbCrLf If i = 1 Then rs.MoveFirst MsgBox "You are at the beginning." Exit Do End If NextRecord i = i - 1 Loop




Reply With Quote