Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-10-2023, 04:37 PM
Guessed's Avatar
Guessed Guessed is offline Modify text in inline textbox in last section footer Windows 10 Modify text in inline textbox in last section footer Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,185
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Working with floating objects (graphics or text boxes) in headers and footers is problematic for VBA. There have been posts in the past which have discussed this that you might gain an insight from.
https://www.msofficeforums.com/word-...all-pages.html
https://www.msofficeforums.com/word-...en-though.html

Rather than trying to address that though, I would first challenge your initial design decision.
Quote:
If the bar were to be placed in a table, this table would always be the same with regardless of the page layout. Unlinking the footer and setting the table to "AutoFit Window" will fill the correct width, but also widens the ends. To overcome this I have set a tab-stop at the correct width, followed by a right alignment tab, applied the correct shading to both parts and placed an inline textbox of the correct width with the page number on the right. Up to here, this works perfectly.
You absolutely can control the table so it automatically adapts without widening ALL columns. Set up the TABLE so it has a preferred width of 100%. Then go to the columns tab and set:
Column 1 with a preferred width of x (cm or inches)
Column 2 with no preferred width
Column 3 with a preferred width of x (cm or inches)
Then you will find that you can change the page width and the table will adapt by only changing the width of the middle column.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help with my script, Convert 1 Group TextBox from Inline with text toWrap Square then Ungroup Cendrinne Word VBA 4 06-03-2023 01:40 AM
Modify text in inline textbox in last section footer First page footer section vs. Footer section Marcia Word 6 02-05-2022 04:46 AM
Modify text in inline textbox in last section footer How to enter 'Page 1' from the footer menu in the right hand section, and not the middle section? Jules90 Excel 2 08-11-2021 06:44 AM
Footer image slides off-screen when made inline X-Bumble Drawing and Graphics 2 08-14-2020 12:40 AM
Modify text in inline textbox in last section footer How to put a table inline with the text Subterfuge Word Tables 2 09-22-2016 08:01 AM

Other Forums: Access Forums

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