This issue was solved. The new shape must has same connection ports as the shape to be replaced.
Error with Shape.ReplaceShape method
I am working on replacing shapes (shp) with a saved master (mst) in My Shapes. Shape.ReplaceShape method was used. From the watch window, both shp and mst have correct values and types. However, invalid parameter error was received. I searched help document and googled but couldn’t find any help.
Thank you in advance.
Sign in to comment
1 additional answer
Sort by: Most helpful
Might try them over here in dedicated office development forums.
--please don't forget to Accept as answer if the reply is helpful--
--please don't forget to
Accept as answerif the reply is helpful--