View Single Post
 
Old 10-20-2015, 10:24 PM
eXellent Solutions eXellent Solutions is offline Windows 10 Office 2013
Novice
 
Join Date: Oct 2015
Location: Pacific Rim
Posts: 2
eXellent Solutions is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
An alternative for Word 2007 & later is to use a picture content control & simply resize that when clicked. The code to do that would be like:
Code:
Private Sub Document_ContentControlOnEnter(ByVal ContentControl As ContentControl)
With ContentControl
  If .Title = "MyPic" Then
    With .Range.InlineShapes(1)
      If .Width > CentimetersToPoints(1) Then
        .Width = CentimetersToPoints(1)
      Else
        .Width = CentimetersToPoints(4)
      End If
    End With
  End If
End With
End Sub
Much simpler than using MACROBUTTON fields, as is required for Word 2003 & earlier.
Hi,
This sounds an interesting idea.
Ideally I'm looking for a floating Window, but likely out of luck with Word. Shame, I really have a lot of stuff in Word to publish.

Maybe I should look at some sort of interactive electronic book editor, if such a thing exists.

Any ideas? I'd like to write interactive content, and don't really want to use macrtos, nor distribute documents with macros due to security issues.
Reply With Quote