Check document upon export

Looking to invoke a macro on export

Check all selected shapes

1. is "named shaped" on "named layer" if not move to correct named layer

2. is specific color outline on "named shape" if not move to named layer

if none of these exist exit sub 

  • Look at the Page.FindShape and Page.FindShapes methods in the API documentation.

    Also look at the Layers.Find method.