fredrerik84
Active Member
- Joined
- Feb 26, 2017
- Messages
- 383
Hi guys im trying to quickly find the row number of my shapes., they are added trough another macro.
I had success with this code to find the location:
But can this be done faster? since doing it this way it would need to loop trough all shapes to find the pos
Frederik
I had success with this code to find the location:
Code:
For Each Shp In ActiveSheet.Shapes
If Shp.Name = Application.Caller Then StartPos = Shp.TopLeftCell.Row
Next Shp
But can this be done faster? since doing it this way it would need to loop trough all shapes to find the pos
Frederik
Last edited: