Howdy,
I would like to be able to select a shape I create through VBA on the page after the one I'm looking at. Right now, I can drop the shape easily on the next page, however it is in front of others, when I need it to be behind. How can I select this shape and then command it to be sent to the back?
You don't need to have the shape selected to do this, when you dropped the shape on the page the drop method returns a shape object (shpobj), just use shpobj.SendToBack
(I think that's the correct syntax, I'm away from Visio at the moment)
Set FieldLabelEntry = pagObj.Drop(FieldLabelMaster, StartX(1), StartY(1))
FieldLabelEntry.SendToBack
I entered that, and that did not work. Do I need to use something other than the variable I set it to?
HAHAHAH my shapes are hollow. That explains it. It works with a solid shape :) Thanks