Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-16-2016, 01:27 PM
Welshgasman Welshgasman is offline Amend text shape in header with VBA Windows 7 32bit Amend text shape in header with VBA Office 2003
Novice
Amend text shape in header with VBA
 
Join Date: Jun 2011
Posts: 26
Welshgasman is on a distinguished road
Default Amend text shape in header with VBA

Hi all,

I managed to create a sub that allows me to change text in the header of word documents. We moved address in work and there were so many to change, I decided to write the routine.

Now I need to use it on another set of letters in the same way.

Unfortunately all it does is swap text in the textbox shape.
Now I need to add an extra line. I believe I could do that with vbCRLF and with some text. However my manager wants to also enlarge the font from 8 to 10, and this then exceeds the size of the text shape.

So I believe I need to somehow change the size of the text shape, but cannot find the method/properties to do it.? I've looked at MarginTop, Autosize etc.


The text shape is also going to have to move to the left to accommodate the larger size and the header depth is also going to have to grow to accommodate the text box.

Would anyone be able to tell me the properties I could use to do the above please.?

TIA
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
selecting shape in header only mhagi Word VBA 5 10-09-2015 01:10 AM
Get the TEXT of Clicked Shape exceere Excel Programming 9 07-09-2014 06:51 AM
Amend text shape in header with VBA how to paste text as shape bsapaka Excel 1 05-01-2014 06:53 AM
Amend text shape in header with VBA Excel vba adding field in word table/shape in a header Hdr Excel 1 02-04-2013 04:40 PM
Amend footer in multiple word docs? compact Word 2 02-24-2009 09:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:00 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