E
Elessvie
Hello! What I'm shooting for is to set a bookmark "First_Find" as the start
of the range oRng, and set the bookmark "Last_Find" as the end of the range
oRng. These bookmarks have already been set.
Here is my code:
oRng.Start = ActiveDocument.Bookmarks("First_Find")
oRng.End = ActiveDocument.Bookmarks("Last_Find")
The error message is "Run-time error 13: Type mismatch "
Do I have to define the bookmarks first as ranges? I am at a loss here.
If anyone could set me straight, I'd really appreciate it.
Thank you,
-Lynne
of the range oRng, and set the bookmark "Last_Find" as the end of the range
oRng. These bookmarks have already been set.
Here is my code:
oRng.Start = ActiveDocument.Bookmarks("First_Find")
oRng.End = ActiveDocument.Bookmarks("Last_Find")
The error message is "Run-time error 13: Type mismatch "
Do I have to define the bookmarks first as ranges? I am at a loss here.
If anyone could set me straight, I'd really appreciate it.
Thank you,
-Lynne