View Full Version : Solved: Active Object
Is there a way to know programatically what shape or group of shapes are presently active? Poking around the VBA Object Browser, I did not find anything like "ActiveShape" nor did I find a shape property like "Active" or similar.
Jacob Hilderbrand
10-23-2005, 08:49 PM
Try this.
Dim Shp As Variant
On Error Resume Next
For Each Shp In Selection
MsgBox Shp.Name
Next
On Error GoTo 0
Try this.
Dim Shp As Variant
On Error Resume Next
For Each Shp In Selection
MsgBox Shp.Name
Next
On Error GoTo 0
thanks. That is an interesting and useful approach
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.