However, using the shapesheet 'FillForegnd' cell for the same selected
group, the "dummy" group shape value at the top is changed but the sub-shapes
are not.
I can write a VBA function that looks to see if a shape is a group and then
sets the colours for all subshapes if there are any, but I was wondering if
there is a way to tell the shape that it is to cascade all colour values from
the group level down to all subgrouped shapes?
(BTW Visio 2003).
Thanks
Susan
My idea may not elegant, but
you may need to enter in Fillforegnd cell of each child shape
in the group, for example, if the name of the group parent shape
is "Sheet.7", then "GUARD(Sheet.7!Fillforegnd)".
--
JuneTheSecond
Now, visual calculation is more visual.
http://www.geocities.jp/visualcalculation/english/index.html
If I understand you correctly, then I'm not missing something obvious as to
how to get this cascading to occur automagically.
The workaround I've been using is use VBA to see if the shape is a group and
then setting the shapesheet cell of all subshapes if it is. At elast it works
but at the cost of a separate function to set a cell value - not that much
but was hoping for something more 'elegant'.
Thanks
Susan
Have a look at the format painter. I'm sure it can do exactly what you
want.
--
Regards, Paul Herber, Sandrila Ltd.
Electronics for Visio http://www.electronics.sandrila.co.uk/
Thanks for the suggestions, and it certainly seems to work when I do this
manually. However, then I tried to record a macro while I used the format
painter, I ended up with an empty macro.
I can't seem to find any reference to the format painter functionality in
the VBA or shapesheet help files. (Probably looking for it in all the wrong
places!)
Can you point me in the right direction as to how I can use the format
painter functionality from a shapesheet formula or VBA code?
Thanks
Susan
>Paul,
>
>Thanks for the suggestions, and it certainly seems to work when I do this
>manually. However, then I tried to record a macro while I used the format
>painter, I ended up with an empty macro.
>
>I can't seem to find any reference to the format painter functionality in
>the VBA or shapesheet help files. (Probably looking for it in all the wrong
>places!)
>
>Can you point me in the right direction as to how I can use the format
>painter functionality from a shapesheet formula or VBA code?
Look at the DoCmd with parameter visCmdFormatPainter
I have a potentially stupid question on this. I'm having similar issues with
a gantt chart 'task bar' object, so thought I'd use a similar approach to
your suggestion (ie linking sub-group fills to the parent fill).
However parent references generate formula errors (if parent is a taskbar),
so I was wondering if you had any suggestions.
Here's my issue:
=Sheet.587!FillForegnd
is fine, but
=Task bar.570!Fillforegnd
generates a formula error.
I wondered if the space between task and bar was the problem, so tried
enclosing with "" -> validates the formula, but still doesn't actually work.
Cheers,
Andy
"TechAuthorAndy" <t...@discussions.microsoft.com> wrote in message
news:1F28967D-0A1C-45D7...@microsoft.com...