![]() |
#7
|
||||
|
||||
![]()
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] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Insert specific picture and add specific Text to it | Syasthe | Word VBA | 1 | 11-02-2017 02:08 AM |
Have a very specific requirement | ggoffice000 | Excel Programming | 2 | 02-03-2017 03:47 PM |
Print attachment when it arrive in specific folder with specific subject | visha_1984 | Outlook | 1 | 01-30-2013 10:42 AM |
![]() |
dextrousdave | Word | 1 | 01-16-2012 09:10 PM |
![]() |
DivideByZer0 | Excel | 3 | 11-10-2009 05:58 PM |