![]() |
|
|
|
#1
|
|||
|
|||
|
Hi
Thanks for this, it works except there is now a blank page between each payslip. The first employee number is in the first paragraph. maybe it can be simplified by just finding the first employee number and bringing it to the top of the page. than looping this. If thats possible? Thanks alot for your help. |
|
#2
|
||||
|
||||
|
Quote:
1. your document already had page breaks between payslips; or 2. you ran the macro twice.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#3
|
|||
|
|||
|
Hi
Yes the 2nd payslip is on the next page so by default there would be a page break already |
|
| Tags |
| macro, vba, word macro |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Macro to loop through all cells in a table produced by a mail merge | elh52 | Word VBA | 4 | 08-31-2014 10:50 PM |
Loop Macro to Edit Date
|
damaniam | Word VBA | 7 | 02-21-2014 07:12 AM |
Loop Macro to Edit Date
|
damaniam | Word VBA | 11 | 12-05-2013 08:28 AM |
Macro to loop in Word
|
Yamaha Rider | Word VBA | 2 | 02-07-2012 05:33 PM |
Macro to loop in subfolders, change links, export xml data
|
Catalin.B | Excel Programming | 2 | 09-08-2011 11:37 PM |