Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-29-2012, 11:15 PM
excelledsoftware excelledsoftware is offline enter free rotation Windows 7 64bit enter free rotation Office 2003
IT Specialist
enter free rotation
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default enter free rotation


What is a macro to take the selected shape and enter free rotate mode. I want to be able to assign this macro to a hotkey.
Thanks
Reply With Quote
  #2  
Old 03-01-2012, 09:08 AM
JohnWilson JohnWilson is offline enter free rotation Windows 7 64bit enter free rotation Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

There's no way I know in the Object model to do this (maybe using the execute method of the relevant control but it didn't work for me.)

Even if you find a way though I doubt you will be able to assign to a keystroke because that isn't supported AFAIK in PowerPoint.
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #3  
Old 03-01-2012, 10:37 AM
excelledsoftware excelledsoftware is offline enter free rotation Windows 7 64bit enter free rotation Office 2003
IT Specialist
enter free rotation
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

Quote:
Originally Posted by JohnWilson View Post
There's no way I know in the Object model to do this (maybe using the execute method of the relevant control but it didn't work for me.)

Even if you find a way though I doubt you will be able to assign to a keystroke because that isn't supported AFAIK in PowerPoint.
oh, well that makes sense because I wasn't finding anything. fortunatly my keyboard has a few programmable keys so as much as we hate too I used sendkeys to just navigate to the button and it works great. ill post the code later and then mark solved.
Reply With Quote
  #4  
Old 03-01-2012, 06:59 PM
excelledsoftware excelledsoftware is offline enter free rotation Windows 7 64bit enter free rotation Office 2003
IT Specialist
enter free rotation
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

Here is a code that will work to do this if you place the free rotate icon as the first button on your drawing toolbar. SendKeys is not the best but this is the only way I know of to make it work.

Sub FreeRotate()
SendKeys "%{u}", wait
SendKeys "{esc}", wait
SendKeys "{left}", wait
SendKeys "{left}", wait
SendKeys "{left}", wait
SendKeys "{ent}", wait
End Sub
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
enter free rotation Rotation Animation? shinyjellicent12321 PowerPoint 1 02-19-2012 11:43 AM
enter free rotation Is there a free download anywhere? Pyro Office 1 10-25-2011 05:16 AM
enter free rotation Enter + Alt + Enter is not working inside the text box! why???? Jamal NUMAN Word 3 04-17-2011 05:35 PM
Motion Paths with Rotation PBone PowerPoint 4 01-13-2011 11:59 AM
enter free rotation FREE resources to learn M$ products... zyzzyva57 Office 4 05-16-2009 07:31 AM

Other Forums: Access Forums

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


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