I'm trying to pass on a value count to the caption along with a "message" but I'm missing something. Run time error 13. Type mismatch.
partial sample code-
Next sNext isr.AddToSelectionfrmBreakDims.Caption = (sr.Count) + ("test")
sr.Count & " test"
Wow. You are here a lot it appears. hehe. Thanks very much!
To expand on this just a little bit...
ShapeRange.Count returns a Long data type.
When you use the "&" for concatenating, the data type conversion from Long to String is being taken care of for you without any effort on your part.
If you had converted the Long to a String, then you could have used a "+", and it would have worked:
CStr(sr.Count) + " test"
I would just use the "&" - but this reminded me of how many times I have stumbled (and still stumble occasionally, if I'm not paying sufficiently close attention) on data types.