![how to insert clickable table of contents in word 365 plus how to insert clickable table of contents in word 365 plus](https://www.top-password.com/blog/wp-content/uploads/2017/02/customize-the-ribbon.png)
![how to insert clickable table of contents in word 365 plus how to insert clickable table of contents in word 365 plus](https://www.formattingfundamentals.com/wp-content/uploads/2021/03/create-clickable-table-of-contents-1024x538.jpg)
The Resize images utility of Kutools for Word can help you to resize all images by a specified percentage or selected image. Now, when clicking an image in this file, the image will be enlarged to the specific size as you desired. Press the F5 key to run the code and close the Microsoft Visual Basic for Applications window. VBA code 2: Click to enlarge images Dim cls As New Class1Ĥ. Click Insert > Module, copy below code into the Module window. You can change the height and width as you need.ģ. Note: In the code, number 200 is the specified height and width of the enlarged images. Private Sub GApp_WindowSelectionChange(ByVal Sel As Selection) VBA code 1: Click to enlarge images Public WithEvents GApp As Word.Application
![how to insert clickable table of contents in word 365 plus how to insert clickable table of contents in word 365 plus](https://i.ytimg.com/vi/rqeGPHaH5b8/maxresdefault.jpg)
Then copy below VBA code into the Class window. In the Microsoft Visual Basic for Applications window, click Insert > Class Module. In the document contains images you will enlarge by a click, press the Alt + F11 keys to open the Microsoft Visual Basic for Applications window.Ģ. The following VBA code can help to enlarge images in a Word document with a click.
How to insert clickable table of contents in word 365 plus how to#
This article is talking about how to enlarge or expand images in a Word document by a mouse click.Ĭlick to enlarge or expand image with VBA code How to click to enlarge or expand image in Word document?