marcello62
Technical User
Hi there,
I use vba code from an ms access code module to format bookmarks in a word document.
Therefore I use the following code:
doc.Bookmarks("mv5_5").Select
Selection.Font.ColorIndex = wdRed
Selection.Font.Bold = True
This works fine for most of the bookmarks, but for bookmarks within a table it does not work.
and I get the error code "462, the remote server machine does not exist or is unavailable".
When I use the resume next statement in the error handler the code runs, but the bookmarks in the table
are not formatted as specified by above code.
So my question is how to programmatically access bookmarks within the cells of a table.
Any help will be greatly appreciated.
I use vba code from an ms access code module to format bookmarks in a word document.
Therefore I use the following code:
doc.Bookmarks("mv5_5").Select
Selection.Font.ColorIndex = wdRed
Selection.Font.Bold = True
This works fine for most of the bookmarks, but for bookmarks within a table it does not work.
and I get the error code "462, the remote server machine does not exist or is unavailable".
When I use the resume next statement in the error handler the code runs, but the bookmarks in the table
are not formatted as specified by above code.
So my question is how to programmatically access bookmarks within the cells of a table.
Any help will be greatly appreciated.