TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Re: Macro for converting in-line pictures to floating pictures?
Subject:Re: Macro for converting in-line pictures to floating pictures? From:Stuart Gibbons <stugib -at- gmail -dot- com> To:"Bruce_Giddens -at- toyota -dot- com" <Bruce_Giddens -at- toyota -dot- com> Date:Tue, 17 Jan 2006 16:14:38 +0000
On 17/01/06, Bruce_Giddens -at- toyota -dot- com <Bruce_Giddens -at- toyota -dot- com> wrote:
> Does anybody have a Word VBA macro for converting in-line pictures to
> floating pictures?
> Thanks!
>
Haven't got time to test it out, but a pointer to the right place -
this is my macro to do the other way round - floating to inline (also
resizes to 100%) - to the image selected:
Sub PS_InlineShape()
On Error Resume Next
If Selection.ShapeRange.Count <> 1 Then
MsgBox "This macro only works on single floating images you
have selected", vbOKOnly + vbInformation, "Image reset"
Else
On Error GoTo 0
Selection.ShapeRange.ScaleWidth 1, True
Selection.ShapeRange.ScaleHeight 1, True
Selection.ShapeRange.ConvertToInlineShape
End If
End Sub
The other way uses .ConvertToShape and applies to an InlineShape object.
Stuart
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Now Shipping -- WebWorks ePublisher Pro for Word! Easily create online
Help. And online anything else. Redesigned interface with a new
project-based workflow. Try it today! http://www.webworks.com/techwr-l
Doc-To-Help 2005 now has RoboHelp Converter and HTML Source: Author
content and configure Help in MS Word or any HTML editor. No
proprietary editor! *August release. http://www.componentone.com/TECHWRL/DocToHelp2005
---
You are currently subscribed to TECHWR-L as archive -at- infoinfocus -dot- com -dot-