M
MikeM
Hi,
You've all been so helpful! Another question.
I create a line using
Set shLine = .DrawLine(1, 1, 2, 2)
Set clGlueStart = shLine.Cells("BeginX")
I have a grouped shape that contains a circle with different pie-shaped
segments and I'd like to glue one end of the line to that shape. I try it
using
Set cel1 = .Shapes("MyPie 1").Cells("PinX")
clGlueStart.GlueTo (cel1)
but I get a "Compile error: type mismatch" message.
Both clGlueStart and cel1 are dimensioned as cells, so that's not the
problem. And when I check to see if the two named cells have numerical
values, they do. What am I doing wrong?
Mike
You've all been so helpful! Another question.
I create a line using
Set shLine = .DrawLine(1, 1, 2, 2)
Set clGlueStart = shLine.Cells("BeginX")
I have a grouped shape that contains a circle with different pie-shaped
segments and I'd like to glue one end of the line to that shape. I try it
using
Set cel1 = .Shapes("MyPie 1").Cells("PinX")
clGlueStart.GlueTo (cel1)
but I get a "Compile error: type mismatch" message.
Both clGlueStart and cel1 are dimensioned as cells, so that's not the
problem. And when I check to see if the two named cells have numerical
values, they do. What am I doing wrong?
Mike