Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2014, 03:07 AM
NobodysPerfect NobodysPerfect is offline Selection.InlineShapes(1).ScaleHeight returns '0' Windows 8 Selection.InlineShapes(1).ScaleHeight returns '0' Office 2010 32bit
Competent Performer
Selection.InlineShapes(1).ScaleHeight returns '0'
 
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
  #2  
Old 06-29-2014, 03:59 PM
macropod's Avatar
macropod macropod is offline Selection.InlineShapes(1).ScaleHeight returns '0' Windows 7 32bit Selection.InlineShapes(1).ScaleHeight returns '0' Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

It works for me.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Selection.InlineShapes(1).ScaleHeight returns '0' 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.InlineShapes(1).ScaleHeight returns '0' 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
Selection.InlineShapes(1).ScaleHeight returns '0' 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

Other Forums: Access Forums

All times are GMT -7. The time now is 04:47 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft