Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2020, 03:18 PM
macropod's Avatar
macropod macropod is offline How to add an event on a shape in document? Windows 7 64bit How to add an event on a shape in document? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Yes, by putting the picture in a Picture content control or a Rich Text content control and employing a ContentControlOnEnter macro.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 06-22-2020, 07:50 AM
ydmq ydmq is offline How to add an event on a shape in document? Windows 10 How to add an event on a shape in document? Office 2013
Banned
How to add an event on a shape in document?
 
Join Date: Jun 2020
Posts: 6
ydmq is on a distinguished road
Default

Thank you so much.

But that won't achieve the effect I want!

I add 4*5=20 shapes in document and each shape has word on it.


Below is my sample pic:

card.jpg - Google Drive


The effect I need is that when I cilck one of the shapes,the shape will change to another color.
If I use content control,it seems that I Can't put the shapes where I want.
Though I can put a picture in a "wdContentControlBlockPicture",but I can't add some words just up on it.
Or if I use content control(wdContentControlRichText),may I change it's background color ?

Do you have any suggestion?

Thank you!
Reply With Quote
Reply

Tags
shape



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add an event on a shape in document? Unable to get cursor past inserted shape in Word document slknova Word 6 11-09-2021 09:02 AM
I don't understand event handling for the DoubleClick event Larry_1 Excel Programming 5 12-28-2017 08:23 AM
How to change size / shape of a shape in a stencil tomgoodell Visio 1 06-30-2016 04:40 AM
Shape hyperlink doesn't work with protected form document Cosmo Word 0 12-10-2012 01:42 PM
Connect Outlook "Event" to Office Document Yick Office 1 09-23-2011 04:57 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:39 AM.


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