A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to remove automatically some pages?



 
 
Thread Tools Display Modes
  #31  
Old August 21st, 2008, 07:39 AM posted to microsoft.public.word.newusers
Graham Mayor
external usenet poster
 
Posts: 18,297
Default How to remove automatically some pages?

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



  #32  
Old August 21st, 2008, 07:35 PM posted to microsoft.public.word.newusers
Tico[_2_]
external usenet poster
 
Posts: 19
Default How to remove automatically some pages?

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




  #33  
Old August 22nd, 2008, 08:17 AM posted to microsoft.public.word.newusers
Graham Mayor
external usenet poster
 
Posts: 18,297
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



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Š2004-2024 OfficeFrustration.
The comments are property of their posters.