Rotate several elements

R

ronh

Hi,

I have a problem which I need to solve in Publisher.

I'm using a template regularly to place pictures and overlaid text
boxes on an A3 document, which will be folded to create an A4 leaflet.
The pictures and text on the front page is therefore 180 degrees
rotated so that it looks correct when folded - no problem so far.
The next thing I need to do AFTER printing a hard copy is to create a
PDF file which is emailed to clients, in this document however the
document is only viewed on screen (not printed) naturally I therefor
need to rotate all components ( text boxes and images) thorough 180
degrees. This I can do manually, but as this needs to be done often I
would love a macro which would enable me to do this in one step
( rotate all elements and save the file as a pdf) I don't know much
about the macro editor in Publisher and I cannot find the command
which enables me to group elements.
 
E

Ed Bennett

ronh said:
I'm using a template regularly to place pictures and overlaid text
boxes on an A3 document, which will be folded to create an A4
leaflet. The pictures and text on the front page is therefore 180
degrees rotated so that it looks correct when folded - no problem so
far.

Is this a tent card style leaflet? Otherwise, I can't see why you need
to rotate the objects at all...
I would love a macro which would enable me to do this in one step (
rotate all elements and save the file as a pdf) I don't know much
about the macro editor in Publisher and I cannot find the command
which enables me to group elements.

You might want to come over to the
microsoft.public.publisher.programming group, where discussions about
programming in Publisher are on-topic.

The Group method is a member of the ShapeRange object, so would be
accessed by:
[A page object].Shapes.Range.Group

Note that simply grouping and rotating will not preserve your layout
properly - the distances from the top and left will become the distances
from the bottom and right respectively. You can either do the math to
work out what the new top and left should be, or (if no objects spill
off the edge of the page) create a rectangle the size of the page, group
everything to it, rotate the group, ungroup, and delete the rectangle.
 
R

ronh

ronh said:
I'm using a template regularly to place pictures and overlaid text
boxes on an A3 document, which will be folded to create an A4
leaflet. The pictures and text on the front page is therefore 180
degrees rotated so that it looks correct when folded - no problem so
far.

Is this a tent card style leaflet? Otherwise, I can't see why you need
to rotate the objects at all...
I would love a macro which would enable me to do this in one step (
rotate all elements and save the file as a pdf) I don't know much
about the macro editor in Publisher and I cannot find the command
which enables me to group elements.

You might want to come over to the
microsoft.public.publisher.programming group, where discussions about
programming in Publisher are on-topic.

The Group method is a member of the ShapeRange object, so would be
accessed by:
[A page object].Shapes.Range.Group

Note that simply grouping and rotating will not preserve your layout
properly - the distances from the top and left will become the distances
from the bottom and right respectively. You can either do the math to
work out what the new top and left should be, or (if no objects spill
off the edge of the page) create a rectangle the size of the page, group
everything to it, rotate the group, ungroup, and delete the rectangle.

H Ed,

Yes it is created in "tent" form as the inner two pages which contain
text are read in portrait mode (running the length of the whole A3
document)
thanks for the input I will come across to the group you mention.

Ron
 

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