Keystroke Macro

  • Thread starter Thread starter Pete
  • Start date Start date
P

Pete

Hey experts,

I just tried create a macro to paste unformatted text
select object or all text in object
then keystrokes ALT e s u

I didn't get anything recorded except
" ActiveWindow.Selection.ShapeRange.TextFrame.TextRange.Select"

even when i tried using the mouse and pulldown menues

so not being a VBA person at all is this:
1) my error?
2) not possible?
3) a bug?

running MS VB 6.3 and MSO Pro 2003 PPT 11.5529.5703

TIA
pete
 
Recording a macro doesn't always pick up everything. Try this:

Sub PasteUnformatted()
ActiveWindow.View.PasteSpecial ppPasteText
End Sub

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 
Try this and see if it works:

Sub PasteUnformattedText()
ActiveWindow.Selection.TextRange.PasteSpecial DataType:=ppPasteText
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top