Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 06-30-2018, 04:12 AM
slaycock slaycock is offline what are the rules for how to anchor a shape? Windows 7 64bit what are the rules for how to anchor a shape? Office 2016
Expert
 
Join Date: Sep 2013
Posts: 255
slaycock is on a distinguished road
Default

The code you posted doesn't run on my pc.

Selection.Text = "New Page " + i

should be

Selection.Text = "New Page " & i

and
Selection.Collapse wdDirection:=wdCollapseEnd


should be

Selection.Collapse Direction:=wdCollapseEnd


and
Selection.InsertBreak Type:=wdPageBreak

won't run because the selection at that point is the shape that has been inserted.

SO the conclusion is that you've never run the code that has been posted.

Can you post the actual code you are using.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word2010 Text Anchor - How To Do It? bluenite Word 3 05-07-2018 05:04 AM
How to change size / shape of a shape in a stencil tomgoodell Visio 1 06-30-2016 04:40 AM
what are the rules for how to anchor a shape? anchor addtextbox to new page Deltaj Word VBA 1 12-05-2014 01:56 AM
Text boxes don't anchor properly in PPT '08 noni PowerPoint 0 11-13-2011 09:16 AM
Question about Tools>Rules and Alerts>E-mail Rules RichGuard Outlook 0 09-02-2010 05:19 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:42 AM.


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