S
Sol Apache
I have macros to insert three text boxes in different positions on the
current page along the left or right margin. Because they are anchoring
themselves to the nearest paragraph which could be deleted while editing
I¹d like to anchor them to the the first paragraph of the page in the hope
that such an anchor is more stable.
If I use this line:
MyTBox.Anchor = ActiveDocument.Paragraphs(1).Range
the text box is placed on the first page of the document and in the bottom
margin of the first page - nowhere near the position I have stated in the
macro (why does it ignore the top and left positions in the macro just
because it is anchored to the first paragraph of a document?). I have tried
variations on this line of code but VB just gives me error messages, mostly
³object not found².
I cannot find code for anchors on the top paragraph of a current page, so
can someone help me with this?
Also can more than one anchor be placed on the same paragraph.
Any help much appreciated.
Sol
current page along the left or right margin. Because they are anchoring
themselves to the nearest paragraph which could be deleted while editing
I¹d like to anchor them to the the first paragraph of the page in the hope
that such an anchor is more stable.
If I use this line:
MyTBox.Anchor = ActiveDocument.Paragraphs(1).Range
the text box is placed on the first page of the document and in the bottom
margin of the first page - nowhere near the position I have stated in the
macro (why does it ignore the top and left positions in the macro just
because it is anchored to the first paragraph of a document?). I have tried
variations on this line of code but VB just gives me error messages, mostly
³object not found².
I cannot find code for anchors on the top paragraph of a current page, so
can someone help me with this?
Also can more than one anchor be placed on the same paragraph.
Any help much appreciated.
Sol