I'm so sorry If I wastn't clearer, I'm aiming to do better.
Quote:
Originally Posted by Guessed
Are you asking about the code, ignoring the disabled lines or just the ones that are currently set to be active?
|
I'm wishing the code is on the selected Group of textbox
Quote:
Originally Posted by Guessed
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?
|
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:
Originally Posted by Guessed
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.
|
OH I didn't think of that. Smart thinking!
Quote:
Originally Posted by Guessed
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?
|
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:
Originally Posted by Guessed
If a shape is ungrouped, do you want its constituent parts to be set to textwrap square?
|
Yes I would
Quote:
Originally Posted by Guessed
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)?
|
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