Re: wdGotoBookMark Constant
- From: "Jezebel" <warcrimes@xxxxxxxxxxxxxx>
- Date: Sat, 2 Apr 2005 11:35:52 +1000
If you had the constant wrong you'd get an 'undefined' error. Bad parameter
means that the argument is inappropriate in the current context -- in this
case, for example, you get it if the document contains no bookmarks.
BTW, you can get the value of a constant by printing in Word's immediate
window: ? wdGotoBookMark
"TT" <tomtatham@xxxxxxxxxxx> wrote in message
news:--ednSFJxtYSV9DfRVn-oQ@xxxxxxxxxxxxxx
> In Word 2002 I am receiving a "bad parameter" error whenever I try to use
> wdGotoBookMark (for example, rng.GotoNext wdBookMark). The debugger shows
> that the value of the constant is -1. What is the correct value of the
> constant? I Googled for an answer (I really doubt I am the first to
> encounter this) but could not come up with an answer).
>
> Thanks in advance.
>
.
- References:
- wdGotoBookMark Constant
- From: TT
- wdGotoBookMark Constant
- Prev by Date: Re: Word Index
- Next by Date: Spelling Error Fequency
- Previous by thread: wdGotoBookMark Constant
- Next by thread: Textbox in Header problem
- Index(es):
Relevant Pages
|