hermiston
08-17-2006, 04:09 PM
Sure, it's kind of ugly though. I'm just getting started on the code and am trying to grasp the syntax of such a heavily managed code. So, let me explain what I'm doing. I am trying so set up a way to print inventory control labels using Avery labels 8167. I have the layout guides working when the document is opened and then I am trying to write a macro that will draw the text boxes (which it currently does). If I had more experience with the syntax an array function would be more efficient in drawing the boxes.
The small text boxes will contain the same name in all of them (10 letters), rotated 90 degrees, with the franklin gothic book font, size 7, fill color and centered.
Across each 4 labels will be 4 seperate colors (like red, green, yellow and blue), the columns of 20 will contain the same color down. This is in the small text boxes.
The large text boxes will then contain a barcode font with 12 characters (these will be sequential numbering, with the first char being a letter and the following 11 the sequential numbers). Example "J00000000001 or K00000000012". These will have the same number across the 4 in a row, and be sequential as you go down each column. Basically 4 labels for each of the inventory items. The char at the beginning of each number will be the same for each building.
I will need to also build a form for the user input of what the starting sequence number will be and what char will be on these numbers and how many pages to print.
Private Sub Document_Open()
ActiveDocument.LayoutGuides.Columns = 4
ActiveDocument.LayoutGuides.Rows = 20
ActiveDocument.LayoutGuides.MarginBottom = Application.InchesToPoints(Value:=0.5)
ActiveDocument.LayoutGuides.MarginTop = Application.InchesToPoints(Value:=0.5)
ActiveDocument.LayoutGuides.MarginLeft = Application.InchesToPoints(Value:=0.28)
ActiveDocument.LayoutGuides.MarginRight = Application.InchesToPoints(Value:=0.28)
ActiveDocument.LayoutGuides.ColumnGutterWidth = Application.InchesToPoints(Value:=0.31)
ActiveDocument.LayoutGuides.RowGutterWidth = Application.InchesToPoints(Value:=0)
End Sub
Sub txtBoxDraw()
Dim shpSmallTextBox As Shape
Dim shpLargeTextBox As Shape
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="0.28 in", Top:="0.5 in", Width:="0.15625 in", Height:="0.5 in")
shpSmallTextBox.TextFrame.TextRange.Text = "xxxxxxxxxx"
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="0.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="0.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="0.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="1 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="1 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="1 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="1 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="1.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="1.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="1.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="1.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="2 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="2 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="2 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="2 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="2.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="2.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="2.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="2.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="0.28 in", Top:="3 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="3 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="3 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="3 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="3.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="3.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="3.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="3.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="4 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="4 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="4 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="4 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="4.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="4.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="4.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="4.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="0.28 in", Top:="5.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="5.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="5.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="5.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="6 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="6 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="6 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="6 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="6.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="6.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="6.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="6.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="7 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="7 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="7 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="7 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="7.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="7.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="7.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="7.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="0.28 in", Top:="8 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="8 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="8 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="8 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="8.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="8.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="8.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="8.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="9 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="9 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="9 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="9 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="9.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="9.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="9.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="9.5 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".28 in", Top:="10 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.34 in", Top:="10 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.4 in", Top:="10 in", Width:="0.15625 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.46 in", Top:="10 in", Width:="0.15625 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:=".5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:=".5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:=".5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:=".5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="1 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="1 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="1 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="1 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="1.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="1.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="1.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="1.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="2 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="2 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="2 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="2 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="2.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="2.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="2.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="2.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="3 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="3 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="3 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="3 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="3.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="3.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="3.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="3.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="4 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="4 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="4 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="4 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="4.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="4.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="4.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="4.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="5.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="5.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="5.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="5.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="6 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="6 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="6 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="6 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="6.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="6.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="6.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="6.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="7 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="7 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="7 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="7 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="7.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="7.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="7.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="7.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="8 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="8 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="8 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="8 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="8.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="8.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="8.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="8.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="9 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="9 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="9 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="9 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="9.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="9.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="9.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="9.5 in", Width:="1.59375 in", Height:="0.5 in")
Set shpLargeTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:=".43625 in", Top:="10 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="2.49625 in", Top:="10 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="4.55625 in", Top:="10 in", Width:="1.59375 in", Height:="0.5 in")
Set shpSmallTextBox = ActiveDocument.Pages(1).Shapes.AddTextbox(Orientation:=pbTextOrientationHor izontal, Left:="6.616625 in", Top:="10 in", Width:="1.59375 in", Height:="0.5 in")
End Sub
Once again, I appreciate any help you can offer.
Thanks
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.