View Single Post
 
Old 06-29-2014, 03:07 AM
NobodysPerfect NobodysPerfect is offline Windows 8 Office 2010 32bit
Competent Performer
 
Join Date: Jan 2014
Location: Germany
Posts: 136
NobodysPerfect is on a distinguished road
Default Selection.InlineShapes(1).ScaleHeight returns '0'

Hi!

For years "Selection.InlineShapes(1).ScaleHeight" has been working like a charm. It still does, BUT NOT if you use drag and drop to insert a bmp, jpg (etc.) into the document. THEN it returns '0'.

Selection.Type still is '7' so I simply do not know how

a) distinguish drag&drop InlineShapes from clipboard and/or InsertPicture InlineShapes
b) retrieve ScaleHeight or ScaleWidth from drag&drop ones.

Thanks for any help
NP
Reply With Quote