Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 06-02-2023, 12:42 AM
Guessed's Avatar
Guessed Guessed is offline Need Help with my script, Convert 1 Group TextBox from Inline with text toWrap Square then Ungroup Windows 10 Need Help with my script, Convert 1 Group TextBox from Inline with text toWrap Square then Ungroup 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

Are you asking about the code, ignoring the disabled lines or just the ones that are currently set to be active?

The active code lines will only work on the FIRST shape in the document. If you had a shape selected which isn't the first shape then it will be ignored. Is that what you wanted to happen?

Let's look at this example if you re-enabled the loop. Say you have one shape in the document and it is a group of three shapes. Your loop starts and it only has one shape to work on. As it looks at the first (grouped) shape, it decides to ungroup the shape (which now becomes three shapes). Then the loop ends because when it started it was told to only work on one shape.

So the questions are:
Do you want the macro to work on all shapes in the document, on one selected shape only, or on every selected shape?
If a shape is ungrouped, do you want its constituent parts to be set to textwrap square?
If a grouped shape is ungrouped and one of the new parts is also a group, do you also want that ungrouped (until there are no more grouped elements)?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 

Tags
help please, shapes, wrapping around image

Thread Tools
Display Modes


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 VBA Script that can convert XML Files to Word Doc. Rolo18 Word VBA 11 03-31-2020 02:16 PM
Need Help with my script, Convert 1 Group TextBox from Inline with text toWrap Square then Ungroup The "group or ungroup text range" control in the developer tab breaks my document up into many pages damiansiniakowicz Word 8 05-10-2018 12:30 PM
Need Help with my script, Convert 1 Group TextBox from Inline with text toWrap Square then Ungroup Setting a Group as Inline mohsen.amiri Word 2 11-10-2017 03:16 AM
Canvas + textbox + group = weird ghost bug? somads Word 0 11-25-2015 01:37 AM
Group records - multiple IF stmts - Text After Group baum12 Mail Merge 1 05-25-2015 12:57 AM

Other Forums: Access Forums

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