Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default How to remove automatically some pages?

You are welcome

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Tico wrote:
I have got it. :-) Thank you very, very much.

Best regards
Tico

Użytkownik "Graham Mayor" napisał w
wiadomości ...
I have sent you a sample document as requested.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Tico wrote:
I still can't see it there. Sorry.
Click the waving note near the bottom of the Home page.
Oh yes. I can see it now.. Sorry, I treated the waving element
as a picture. :-)

{ IF { MERGEFIELD I } "\" "{ Includetext "c:\\test\\Sz_I.doc" \*
MERGEFORMAT }" ""}{ IF { MERGEFIELD II_bez } "\" "{ Includetext
"c:\\test\\Sz_II.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD
II_str } "\" "{ Includetext "c:\\test\\Sz_II_s.doc" \*
MERGEFORMAT } " "" }{ IF { MERGEFIELD III_bez } "\" "{
Includetext "c:\\test\\Sz_III.doc" \* MERGEFORMAT }" "" }{ IF {
MERGEFIELD III_str } "\" "{ Includetext "c:\\test\\Sz_III_s.doc"
\* MERGEFORMAT }" ""}
OK. I'll try in a moment.

There appears to be an issue with the slash character '\' that you
have used in the test fields. I would suggest replacing that with
'1' or 'A' and changing the conditional fields accordingly.
I thought about it. As you know I wanted to remove pages with any
special character so I chose "\" because it was not used in the
data. Now I can change it.

The other problems may relate to the fact that you are working in a
different language which I don't understand and which I cannot
entirely reproduce here so I regret I am unable to help you further
to get this to produce exactly what you want.
I realise that.
I'll try to get correct results on my own.

You mentioned that you could send me your sample working document.
If you did, I'd be happy. :-)

Thank you very, very much for all your help. I learnt a lot from
you. :-)
Best regards
Tico


Użytkownik "Graham Mayor" napisał w
wiadomości ...
Tico wrote:
I still can't see it there. Sorry.
Click the waving note near the bottom of the Home page.

I used the .doc from you and I replaced the spaces in the field
names with underscores.
At the moment all 5 pages are processed but the condition "\"
is still not checked so I get 40 pages as result (8 records in my
example by 5 pages).

I'm not having the best of days

There was an error in my syntax that wouldn't have helped . It
should have read: { IF { MERGEFIELD I } "\" "{ Includetext
"c:\\test\\Sz_I.doc" \* MERGEFORMAT }" ""}{ IF { MERGEFIELD II_bez }
"\" "{ Includetext
"c:\\test\\Sz_II.doc" \* MERGEFORMAT }" "" }{ IF { MERGEFIELD
II_str } "\" "{ Includetext "c:\\test\\Sz_II_s.doc" \*
MERGEFORMAT } " "" }{ IF { MERGEFIELD III_bez } "\" "{
Includetext "c:\\test\\Sz_III.doc" \* MERGEFORMAT }" "" }{ IF {
MERGEFIELD III_str } "\" "{ Includetext "c:\\test\\Sz_III_s.doc"
\* MERGEFORMAT }" ""} There appears to be an issue with the
slash character '\' that you have used in the test fields. I would
suggest replacing that with
'1' or 'A' and changing the conditional fields accordingly. The
other problems may relate to the fact that you are working in a
different language which I don't understand and which I cannot entirely
reproduce here so I regret I am unable to help you further
to get this to produce exactly what you want. --

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
When adding pages , can reference to pages change automatically? JWH Microsoft Word Help 3 August 7th 08 06:33 AM
How to remove hyperlinks automatically by default? Mridul Microsoft Word Help 1 March 6th 08 08:21 AM
The document is not automatically adjusting to remove blank pages Zoya Tables 4 March 15th 06 10:06 PM
Remove/convert nested subtables automatically Jim Bunch Tables 1 July 24th 05 03:49 AM
Automatically remove hyperlinks in word JohnD Microsoft Word Help 2 June 29th 05 04:14 AM


All times are GMT +1. The time now is 06:14 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Š2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"