![]() |
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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 |
|
#2
|
||||||
|
||||||
|
I'm so sorry If I wastn't clearer, I'm aiming to do better.
Quote:
I'm wishing the code is on the selected Group of textbox Quote:
What I do, is select the outside frame of the group, and I've noticed if there are Group ''Lines'' further in the document, that is where it goes and totally ignored the selected outside group. HOWEVER, if I handle all the other Groups furter in the document, then the intended selected group, my code did the exactly what was intended [Square Warp & Ungroup] Quote:
OH I didn't think of that. Smart thinking! Quote:
I hope the macro would, I'll use your example of 3 textbox groupe as one: select the three textbox as one group, wrap square, then ungroup. Quote:
Yes I would Quote:
I'm not certain, what you are saying here, but how I see it, at times it's true in an example, a group of 6 textbox, built as one group, there might be two mini group, where ==> 1 group of 4 textbox, then created anoter group for the 2, then merged them all into 1 group at the end. Is that an example of what you are saying here? If so, let me explain the reason I've created this macro, maybe this would explain.....My intention of this macro is to : Either to use if for... 1- Just to use the selected group and wrap square, [Square cause I can move the group if needed, when inline, you cannot], this is a step prior to the next (==>End result, is to extract each content within a group and keep the text format, align to the left (but that is another macro); 2- OR if I need to undo a group of 6 textbox (using my previous example), but the group of 4, one of them should have been with the other mini group of 2 textbox. I hope my explanation if better. Thanks for the prompt reply ![]() C |
|
| Tags |
| help please, shapes, wrapping around image |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
VBA Script that can convert XML Files to Word Doc.
|
Rolo18 | Word VBA | 11 | 03-31-2020 02:16 PM |
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 |
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 |