hsrstud
asked on
Keyboard shortcut for paste unformatted in PowerPoint 2007
Is it possible to create a keyboard shortcut to paste unformatted text into PowerPoint 2007 using VBA or some other method?
Thanks for the help!
Thanks for the help!
ASKER
For others that may be interested, this seems to work:
Option Explicit
Sub Paste_Unformatted_Text()
ActiveCell.Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub
Option Explicit
Sub Paste_Unformatted_Text()
ActiveCell.Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub
The author comment is wrong and represents an excel solution that to the best of my knowledge cannot be used in PPT.
As I commmented that a button for the purpose could be used, (via a macro) but that the useability improvements would be minimal I suggest that I answered the question reference a keyboard shortcut being impossible but introduced the idea of another way and that as such my answer was correct above and beyond.
Note if the use of a button had been requested I would have suggested something like the snippet below which uses the PPT interface and constants instead of excel.
Chris
As I commmented that a button for the purpose could be used, (via a macro) but that the useability improvements would be minimal I suggest that I answered the question reference a keyboard shortcut being impossible but introduced the idea of another way and that as such my answer was correct above and beyond.
Note if the use of a button had been requested I would have suggested something like the snippet below which uses the PPT interface and constants instead of excel.
Chris
Sub Macro1()
ActiveWindow.Selection.TextRange.PasteSpecial ppPasteText
End Sub
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yah I assumed the request to bypass all inputs other than the specific paste unformatted which the pastespecial does not.
Adding a button to call the sub pastes unformatted with one press ... but it's not a keyboard shortcut of course.
Chris
Adding a button to call the sub pastes unformatted with one press ... but it's not a keyboard shortcut of course.
Chris
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry, I got confused. After I was unsuccessful trying to create a keyboard shortcut in PowerPoint to paste unformatted text, I moved on to Excel. When I got it to work in Excel, I forgot this post was about PowerPoint and pasted code.
It looks like GlennaShaw may have posted the solution, but I'm not willing to spend $30 for this feature, so I didn't try the recommended program. Seeing as there have been multiple approaches suggested, I'm going to split the reward.
Thank you for your help and I apologize for the confusion.
It looks like GlennaShaw may have posted the solution, but I'm not willing to spend $30 for this feature, so I didn't try the recommended program. Seeing as there have been multiple approaches suggested, I'm going to split the reward.
Thank you for your help and I apologize for the confusion.
ASKER
Chris