Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 03-16-2012, 02:13 PM
JohnWilson JohnWilson is offline Change object properties by clicking Windows 7 64bit Change object properties by clicking Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,914
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

This macro will change the fill of ANY shape clicked in show mode (assuming it can be changed)

Code:
Sub change_Color(oshp As Shape)
oshp.Fill.ForeColor.RGB = RGB(255, 0, 0)
End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add custom doc properties in "Doc properties control" eazysnatch Word 2 09-13-2017 08:08 PM
Open a linked file without mouse clicking it Vangskop PowerPoint 0 03-09-2011 10:08 AM
Why right clicking anywhere on the selected table looses the selection! Jamal NUMAN Word 0 01-13-2011 06:10 PM
Problem: object library invalid or contains references to object definitions aligahk06 Office 0 08-19-2010 12:29 PM
Change object properties by clicking clicking on email link gets request to install outlook denno Outlook 3 05-11-2009 02:11 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:14 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