Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-05-2014, 01:56 AM
macropod's Avatar
macropod macropod is offline anchor addtextbox to new page Windows 7 64bit anchor addtextbox to new page Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,523
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


The code is essentially the same:
Code:
Dim Rng As Range
With ActiveDocument
  Set Rng = .Range
  With Rng
    .Collapse direction:=wdCollapseEnd
    .InsertBreak Type:=wdPageBreak
    .Collapse direction:=wdCollapseEnd
  End With
  .Shapes.AddTextbox Orientation:=msoTextOrientationHorizontal, _
    Left:=74, Top:=92, Width:=282, Height:=24, Anchor:=Rng
End With
PS: When posting code, please use the code tags, indicated by the # button on the posting menu.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
addtextbox, anchor, newpage



Similar Threads
Thread Thread Starter Forum Replies Last Post
anchor addtextbox to new page Link or Anchor Drawings to Text RayLab OneNote 6 01-07-2015 12:30 PM
anchor addtextbox to new page anchor a frame so it wont move. blockie Drawing and Graphics 2 08-17-2014 07:06 AM
Page layout: skipping one page for new elements added at end of a page MarcA Word 3 09-30-2013 02:58 PM
2 page document printing problem, text from page 1 in layout of page 2 when printed laurawether45 Word 1 08-02-2012 07:03 AM
Text boxes don't anchor properly in PPT '08 noni PowerPoint 0 11-13-2011 09:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:46 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft