Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to find if some drawing documents have detached balloons.
But it seems that the .Attached property is not returning the correct value.
Here is the code that I have:
Dim oDrawDoc As DrawingDocument
Set oDrawDoc = ThisApplication.ActiveDocument
Debug.Print oDrawDoc.ActiveSheet.Balloons.Count
Dim LocalBalloon As Balloon
For Each LocalBalloon In oDrawDoc.ActiveSheet.Balloons
Debug.Print LocalBalloon.Attached
Next LocalBalloon
And an image with a detached balloon, the property returns true.
Solved! Go to Solution.