The routine begins by being passed two strings, one being the category of map, and the second being the shape name used to hold a GoogleStaticMapAPI map.
I'm attempting to error trap the instance where a request was made for a map, but the shape (container) that will be the location of the map does not exist (user deleted, anomaly, etc.) and then create one prior to requesting the map. How do I test for the existence of a shape (and re-work the provided code) with the name passed at routine onset?
I continue to receive an error that the object doesn't exist. Exactly. I know it doesn't exist because I deleted for testing. Must I really cycle through all shapes in the worksheet via For Each Next construct as has been suggested elsewhere on the net?
Direction appreciated.
Bookmarks