Images in a word document

ADAMC

Well-known Member
Joined
Mar 20, 2007
Messages
1,169
Office Version
  1. 2013
Platform
  1. Windows
Hi all :) Thanks in advance for any help.

Ive done some research and Im not so sure this is possible but most of the times someone always has a solution so here goes!

I have an image inserted in a word doc - it must be a full screen so it cant be cropped and the quality of the image is pretty poor and the text which is important really small and quite blurred. Ive cropped and edited all I can but to no avail.

Im wondering if there any add ins/ VBA or solutions where by I could 'Hover over' an image in a word doc an it will Zoom to a larger size then stop when i move the mouse cursor off the image?

Anyone know if anything like this is possible?
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Some (most?) mouse drivers include a function for magnifying some or all of the screen via a button on the mouse.

Other than that, it would be possible to couple a MACROBUTTON field and a macro with a portion of the image such that, if you clicked on that area, you would see that portion enlarged - clicking on the image a second time would reduce it. This would be a bit fiddly to set up and could become unwieldy if you wanted to be able to magnify multiple areas.
 
Upvote 0
Thanks for your reply :)

I guess thats a start!

There are 3 areas on the document really where I would like to double click or hover and zoom in an show a larger image but in all honesty even if there was a way i could double click and just show the whole image larger that would be a good solution. is this possible with a MACROBUTTON?

I found the info below and was going to start researching document properties and MACROBUTTONS but could you perhaps advise if you think this would be viable before i start looking at it?

First: Create a custom document property named 'PicSize' as a Yes/No type.
Second: Insert a MACROBUTTON field, coded as:
{MACROBUTTON PicSize {IF{DOCPROPERTY PicSize}= Y "Pic1 Here" "Pic2 Here"}}
and insert the images in-line with text where indicated. It doesn't matter which is which. When you're done, select the field and press F9 to update it.

Third: Add the following macro to the document:
Sub PicSize()
Application.ScreenUpdating = False
With ActiveDocument.CustomDocumentProperties("PicSize")
.Value = Not .Value
End With
With Selection
.Fields.Update
.Collapse
End With
Application.ScreenUpdating = True
End Sub

Now, whenever you double-click on the picture, Word will resize it.

Thanks
 
Upvote 0
That looks like some content from one of my posts! And yes, that's what I had in mind. That approach can be used with either the whole image or an overlay. The trick with an overlay will be to get it just right, so it's no more apparent than you need it to be. For that, you'd probably need to sent the main image 'behind text' or at least put the Macrobutton & overlay images in a borderless textbox in front of the text.
 
Upvote 0

Forum statistics

Threads
1,225,661
Messages
6,186,288
Members
453,348
Latest member
newbieBA

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top