View Single Post
 
Old 11-12-2017, 02:07 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,355
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Your attachment in post #5 is a plain text file, not a Word document, so I can only assume the structure is the same.

Achieving your desired outcome will take some work to do, but it is possible. For the layout indicated in your 1.jpg:-
1. Insert your content into a document with your page size, oriented in landscape format.
2. Set the page margins to: top=4.8mm; bottom=4.8mm; left=7.5mm; right=7.5mm.
3. Set the page layout to 5 columns, with 0 space between the columns. This will give a column width of 61mm.
4. Using a wildcard Find/Replace, choose:
a) Find = ^13
Replace = ^l
b) Find = ^l^l
Replace = ^p
c) Find = ^32CEP
Replace = ^lCEP
d) Find = (CEP=[0-9\-]@)^32
Replace = \1^l
5. Select all (Ctrl-A), then choose Insert|Table>Convert text to table>OK.
6. With the table remaining selected, choose Table Tools|Layout|Properties>Table>Alignment:Center>Opt ions Left:0, Right:0, 'Automatically resize to fit contents':unchecked>OK>Row>Specify Height>41mm>Row height is:Exactly>'Allow row to break across pages':unchecked>OK>Column>Preferred width:61mm

At this stage, all the label setup work will be done. You will still need to do things like setting paragraph format, font name & size, and so on.

Some of the longer lines will probably have text-wrapping where you don't want it, so you'll have to either break those lines manually or change their font name & size so they fit. This part really can't be simplified.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote