Depending on what you've inserted the inlineshape may or may not have a ScaleHeight or ScaleWidth value. Embedded & linked Excel workbooks and vector images, for example, are two formats that don't.
Also, images that have wrapping applied aren't inlineshapes and wouldn't be processed by your macros.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|