P
PetruDov
Gentleman,
I am using MS word 97/2000
I have a MS Word document that contains certain text and a group of Field
codes in diffeerent locations in the same document. Once I run (update) the
field codes, they calculate and insert results in other different places.
Once I "run the form" or updated the field codes, I have to obtain the Final
simple output document for a client, where he need not know any thing about
field codes nor about a group of text notes in the document, let me call the
the Net output desired document.
I ran the field codes and then Unlink them, with a Macro, all of which works
fine.
Once I unlink the field codes it leaves a group of empty or Blank spaces is
several locations which I must remove in order to obtain the final Net
document.
My Question is: How to remove these blank lines left from the Unlinked Field
codes Automatically without a manual process, perhaps some more additions to
my Macro, or by running another Macro to remove these blank spaces. Ofcourse
I do not need these blank spaces only in the final Printed output.
So, I tried to Hide the field codes, then I Show them with the Paragraph
Mark, then I ran my Macro on all the document etc.
I found that If the Field codes are hidden like that, they do Not update
correctly some expected results into some fields, and they miss others
completely. But exact same form works correct if the field codes are not
hidden. But I do get the ability to hide the blank spaces after unlinking the
field codes...
I hope I defined the problem. I would like to know if am I on the right
direction by trying to Hide the Field codes before Updating and Unlinking, or
is there some another simple way and/or Macro that I could run to Remove
Blank Lines in order to obtain the final Net document automatically as much
as possible?
I thank you for any help and advice!
Peter
I am using MS word 97/2000
I have a MS Word document that contains certain text and a group of Field
codes in diffeerent locations in the same document. Once I run (update) the
field codes, they calculate and insert results in other different places.
Once I "run the form" or updated the field codes, I have to obtain the Final
simple output document for a client, where he need not know any thing about
field codes nor about a group of text notes in the document, let me call the
the Net output desired document.
I ran the field codes and then Unlink them, with a Macro, all of which works
fine.
Once I unlink the field codes it leaves a group of empty or Blank spaces is
several locations which I must remove in order to obtain the final Net
document.
My Question is: How to remove these blank lines left from the Unlinked Field
codes Automatically without a manual process, perhaps some more additions to
my Macro, or by running another Macro to remove these blank spaces. Ofcourse
I do not need these blank spaces only in the final Printed output.
So, I tried to Hide the field codes, then I Show them with the Paragraph
Mark, then I ran my Macro on all the document etc.
I found that If the Field codes are hidden like that, they do Not update
correctly some expected results into some fields, and they miss others
completely. But exact same form works correct if the field codes are not
hidden. But I do get the ability to hide the blank spaces after unlinking the
field codes...
I hope I defined the problem. I would like to know if am I on the right
direction by trying to Hide the Field codes before Updating and Unlinking, or
is there some another simple way and/or Macro that I could run to Remove
Blank Lines in order to obtain the final Net document automatically as much
as possible?
I thank you for any help and advice!
Peter