"Error, Bookmark not defined" - customize font

D

Doug Robbins - Word MVP

I don't think so. Better to take the necessary step to avoid getting the
error message.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
D

Diane

Doug,
I have an include statement:
[INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"]

For reasons I would rather not explain, this month the bookmark exists, next
month it may not. When it doesn't, I get "Error, Bookmark not defined", to
control the display of this message, I would like to customize the fonts.
I'm trying to figure out if there is anyway that I can get into WORD's error
messages and set the font without having to run scripts to change it. OR,
could I include an "IF" statment with the INCLUDETEXT, that could possibly
set my font?? Example: "if bookmark not found, set font"??

Diane
 
D

Doug Robbins - Word MVP

I think you can use

{ IF { INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"} = "Error, Bookmark
not defined" " " { INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"} }

The "Error, Bookmark not defined" will have to be the identical wording to
the error e.g. Isn't it "Error! Bookmark not defined."

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Diane said:
Doug,
I have an include statement:
[INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"]

For reasons I would rather not explain, this month the bookmark exists,
next
month it may not. When it doesn't, I get "Error, Bookmark not defined",
to
control the display of this message, I would like to customize the fonts.
I'm trying to figure out if there is anyway that I can get into WORD's
error
messages and set the font without having to run scripts to change it. OR,
could I include an "IF" statment with the INCLUDETEXT, that could possibly
set my font?? Example: "if bookmark not found, set font"??

Diane
Doug Robbins - Word MVP said:
I don't think so. Better to take the necessary step to avoid getting the
error message.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
D

Diane

Doug,
Your previous post about avoiding the error message made me test an IF
statement exactly as your example below. I have this working, the error
message no longer apprears.....although my problem now is the IF statement is
causing my "style" not to correctly format. I should have 6 points before
each bookmark that is inserted, the paragraphs that have the
"{IF{INCLUDETEXT.....etc.....}} does not keep the 6 point formatting,
although when I check the style and the format, all looks good, it just
doesn't add it. For testing, I removed the IF statement, all worked fine .
The "IF" statement works perfect for me, I just need my formatting to stay -
if I could fix that problem, issues would be resolved.

Thanks for your replies!!
Diane

Doug Robbins - Word MVP said:
I think you can use

{ IF { INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"} = "Error, Bookmark
not defined" " " { INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"} }

The "Error, Bookmark not defined" will have to be the identical wording to
the error e.g. Isn't it "Error! Bookmark not defined."

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Diane said:
Doug,
I have an include statement:
[INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"]

For reasons I would rather not explain, this month the bookmark exists,
next
month it may not. When it doesn't, I get "Error, Bookmark not defined",
to
control the display of this message, I would like to customize the fonts.
I'm trying to figure out if there is anyway that I can get into WORD's
error
messages and set the font without having to run scripts to change it. OR,
could I include an "IF" statment with the INCLUDETEXT, that could possibly
set my font?? Example: "if bookmark not found, set font"??

Diane
Doug Robbins - Word MVP said:
I don't think so. Better to take the necessary step to avoid getting the
error message.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Is there anyway to customize the font on this error message?
 
D

Doug Robbins - Word MVP

Are you using an actual Style or just applying the formatting directly? I
would recommend the former.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Diane said:
Doug,
Your previous post about avoiding the error message made me test an IF
statement exactly as your example below. I have this working, the error
message no longer apprears.....although my problem now is the IF statement
is
causing my "style" not to correctly format. I should have 6 points before
each bookmark that is inserted, the paragraphs that have the
"{IF{INCLUDETEXT.....etc.....}} does not keep the 6 point formatting,
although when I check the style and the format, all looks good, it just
doesn't add it. For testing, I removed the IF statement, all worked fine
.
The "IF" statement works perfect for me, I just need my formatting to
stay -
if I could fix that problem, issues would be resolved.

Thanks for your replies!!
Diane

Doug Robbins - Word MVP said:
I think you can use

{ IF { INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"} = "Error, Bookmark
not defined" " " { INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"} }

The "Error, Bookmark not defined" will have to be the identical wording
to
the error e.g. Isn't it "Error! Bookmark not defined."

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Diane said:
Doug,
I have an include statement:
[INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"]

For reasons I would rather not explain, this month the bookmark exists,
next
month it may not. When it doesn't, I get "Error, Bookmark not
defined",
to
control the display of this message, I would like to customize the
fonts.
I'm trying to figure out if there is anyway that I can get into WORD's
error
messages and set the font without having to run scripts to change it.
OR,
could I include an "IF" statment with the INCLUDETEXT, that could
possibly
set my font?? Example: "if bookmark not found, set font"??

Diane
:

I don't think so. Better to take the necessary step to avoid getting
the
error message.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Is there anyway to customize the font on this error message?
 
D

Diane

Doug
I am using the style. The bookmarks have been created with this style, the
document that has the "includetext" also has this style. It's interesting
that the document that has the INCLUDETEXT statements in CODE view looks
perfect.

Each INCLUDETEXT statement, including the {IF{Include......}} all has the 6
point spacing before each INCLUDE statement - although when switching from
the code view to the text view(ALT+F9) the 6 point spacing is lost at each
paragraph where the {IF{INCLUDE....) is coded.

Is this what I should expect to happen??

Again, thanks for your continuing replies!!

Diane




Doug Robbins - Word MVP said:
Are you using an actual Style or just applying the formatting directly? I
would recommend the former.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Diane said:
Doug,
Your previous post about avoiding the error message made me test an IF
statement exactly as your example below. I have this working, the error
message no longer apprears.....although my problem now is the IF statement
is
causing my "style" not to correctly format. I should have 6 points before
each bookmark that is inserted, the paragraphs that have the
"{IF{INCLUDETEXT.....etc.....}} does not keep the 6 point formatting,
although when I check the style and the format, all looks good, it just
doesn't add it. For testing, I removed the IF statement, all worked fine
.
The "IF" statement works perfect for me, I just need my formatting to
stay -
if I could fix that problem, issues would be resolved.

Thanks for your replies!!
Diane

Doug Robbins - Word MVP said:
I think you can use

{ IF { INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"} = "Error, Bookmark
not defined" " " { INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"} }

The "Error, Bookmark not defined" will have to be the identical wording
to
the error e.g. Isn't it "Error! Bookmark not defined."

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Doug,
I have an include statement:
[INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"]

For reasons I would rather not explain, this month the bookmark exists,
next
month it may not. When it doesn't, I get "Error, Bookmark not
defined",
to
control the display of this message, I would like to customize the
fonts.
I'm trying to figure out if there is anyway that I can get into WORD's
error
messages and set the font without having to run scripts to change it.
OR,
could I include an "IF" statment with the INCLUDETEXT, that could
possibly
set my font?? Example: "if bookmark not found, set font"??

Diane
:

I don't think so. Better to take the necessary step to avoid getting
the
error message.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Is there anyway to customize the font on this error message?
 
D

Doug Robbins - Word MVP

Hi Diane,

Sorry, I can't replicate (or explain) that behaviour.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Diane said:
Doug
I am using the style. The bookmarks have been created with this style,
the
document that has the "includetext" also has this style. It's interesting
that the document that has the INCLUDETEXT statements in CODE view looks
perfect.

Each INCLUDETEXT statement, including the {IF{Include......}} all has the
6
point spacing before each INCLUDE statement - although when switching from
the code view to the text view(ALT+F9) the 6 point spacing is lost at each
paragraph where the {IF{INCLUDE....) is coded.

Is this what I should expect to happen??

Again, thanks for your continuing replies!!

Diane




Doug Robbins - Word MVP said:
Are you using an actual Style or just applying the formatting directly?
I
would recommend the former.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Diane said:
Doug,
Your previous post about avoiding the error message made me test an IF
statement exactly as your example below. I have this working, the
error
message no longer apprears.....although my problem now is the IF
statement
is
causing my "style" not to correctly format. I should have 6 points
before
each bookmark that is inserted, the paragraphs that have the
"{IF{INCLUDETEXT.....etc.....}} does not keep the 6 point formatting,
although when I check the style and the format, all looks good, it just
doesn't add it. For testing, I removed the IF statement, all worked
fine
.
The "IF" statement works perfect for me, I just need my formatting to
stay -
if I could fix that problem, issues would be resolved.

Thanks for your replies!!
Diane

:

I think you can use

{ IF { INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"} = "Error,
Bookmark
not defined" " " { INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"} }

The "Error, Bookmark not defined" will have to be the identical
wording
to
the error e.g. Isn't it "Error! Bookmark not defined."

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

Doug,
I have an include statement:
[INCLUDETEXT "c:\\MYINCLUDES\\General.doc" BK1"]

For reasons I would rather not explain, this month the bookmark
exists,
next
month it may not. When it doesn't, I get "Error, Bookmark not
defined",
to
control the display of this message, I would like to customize the
fonts.
I'm trying to figure out if there is anyway that I can get into
WORD's
error
messages and set the font without having to run scripts to change
it.
OR,
could I include an "IF" statment with the INCLUDETEXT, that could
possibly
set my font?? Example: "if bookmark not found, set font"??

Diane
:

I don't think so. Better to take the necessary step to avoid
getting
the
error message.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of
my
services on a paid consulting basis.

Doug Robbins - Word MVP

Is there anyway to customize the font on this error message?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top