![]() |
|
|
|
#1
|
|||
|
|||
|
I've now got to this:
Sub BarcodeLabels() Dim C As Cell Dim objTable As Table For Each objTable In ActiveDocument.Tables For Each C In ActiveDocument.Tables(1).Range.Cells Selection.HomeKey Unit:=wdLine Selection.TypeText Text:="*" Selection.EndKey Unit:=wdLine Selection.TypeText Text:="* " Selection.Expand wdLine Selection.Font.Name = "Free 3 of 9" Selection.Font.Size = 14 Selection.EndKey Unit:=wdLine Selection.MoveLeft Unit:=wdCharacter, Count:=3, Extend:=wdExtend Selection.Font.Name = "Arial" Selection.EndKey Unit:=wdLine Selection.Move Unit:=wdCell, Count:=1 Next C Next objTable End Sub Which runs through the first page of labels quite happily, and then loops in the last cell in the table without moving on to the next page (which I presume is a separate table). Any ideas? I'd be very grateful for any help! |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Mail Merge on Optional Row(s) of a Table
|
Chris Wong | Mail Merge | 3 | 08-21-2019 12:55 PM |
Mail Merge Into Dynamic Table
|
Jag618 | Mail Merge | 1 | 03-04-2013 11:26 PM |
mail merge with table
|
nadja | Mail Merge | 5 | 03-06-2012 05:41 PM |
Macro to Merge Cells Row By Row in a Table
|
KD999 | Word VBA | 4 | 02-20-2012 08:51 PM |
Word Doc Macro (mail Merge)
|
ajolson1964 | Word VBA | 1 | 05-10-2011 10:15 PM |