#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
It works for me.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to release hard returns? | markg2 | Word | 13 | 05-08-2023 01:38 PM |
Set InlineShapes Properties | tsadamson | Word VBA | 0 | 08-16-2013 04:36 PM |
Selection of all Text for a specific page in word is spanning selection across pages | ramsgarla | Word VBA | 9 | 12-05-2012 03:23 AM |
No tabbing, no returns in forms? | rdowney1 | Word | 7 | 06-29-2012 08:35 AM |
InLineShapes | cksm4 | Word VBA | 1 | 02-21-2011 10:19 PM |