Bryan Carbonnell
carbonnb at gmail.com
Tue Jul 26 07:01:42 CDT 2005
On 25/07/05, Kim Wiggins <kimjwiggins at yahoo.com> wrote: > I am really trying to make this word Automation work. I am using VB to write the code but it will not recognize the bookmarks. It opens the document and everything like it should but it will not recognize the book mark. The error I get is this: > > the requested member of the collection does not exist > > It bombs out at the green highlighted code and I can't understand why. Any help would be greatly appreciated. Formatting doesn't come through to the list. Which line is causing the problem? This one? > objWD.ActiveDocument.Bookmarks.Item("AT").Range.Text = frmAircraftWO.txtAircraftType If so, is AT the name of a bookmark in the main body of the document? Or is it in a header or footer? Are you sure the active document the one referenceced in the variable doc? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!"