Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-05-2014, 06:57 PM
Byron Polk Byron Polk is offline Determine if a shape is selected Windows 7 64bit Determine if a shape is selected Office 2010 32bit
Novice
Determine if a shape is selected
 
Join Date: Jul 2014
Location: Whitehouse, TX
Posts: 14
Byron Polk is on a distinguished road
Default Determine if a shape is selected

I am trying to determine if a shape is currently selected but I just can't find a way to determine this.

Thanks for any assistance.



Byron
Reply With Quote
  #2  
Old 08-05-2014, 08:45 PM
macropod's Avatar
macropod macropod is offline Determine if a shape is selected Windows 7 32bit Determine if a shape is selected Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

All that requires is something like:
MsgBox Selection.Type
This will return the WdSelectionType constant: 7 = wdSelectionInlineShape; 8 = wdSelectionShape
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 08-06-2014, 02:26 AM
Byron Polk Byron Polk is offline Determine if a shape is selected Windows 7 64bit Determine if a shape is selected Office 2010 32bit
Novice
Determine if a shape is selected
 
Join Date: Jul 2014
Location: Whitehouse, TX
Posts: 14
Byron Polk is on a distinguished road
Default

Thanks. I apreciate the help.

Byron
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparing Dates to Determine Latest lgsibley Excel 2 04-14-2014 11:51 AM
Determine if a shape is selected Determine Visio 2010 version bbelko Misc 1 10-24-2013 08:40 AM
Determine if a shape is selected locking shape within shape cpwljaw Drawing and Graphics 1 08-28-2012 12:13 AM
Determine if a shape is selected * Determine Capitalization djreyrey Excel 8 05-03-2011 02:03 PM
Determine if a shape is selected Determine age by using birthdate gdodson Excel 1 08-11-2006 09:27 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:23 PM.


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