I need to make a macro to do EDIT, PASTE SPECIAL, then UNFORMATTED TEXT. It pretends to record, but nothing gets recorded. Tried both mouse and keyboard. Grrrrr. This worked fine in Word. Help!
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Paste Unformat Macro (PPT 2k SR-2)
Home » Forums » AskWoody support » Productivity software by function » MS PowerPoint and presentation apps » Paste Unformat Macro (PPT 2k SR-2)
- This topic has 11 replies, 5 voices, and was last updated 20 years, 9 months ago.
Viewing 1 reply threadAuthorReplies-
WSsilverback
AskWoody LoungerJuly 10, 2001 at 6:22 am #532481I get the same result (PPT2K SR-1, 9.0.3821)
Wierd.
I get the framework of the macro (sub…endsub) but no content.
Can’t help as to why, though.
To get you going, you could copy the macro from word and paste it into the PPT macro while other loungers sort out why it won’t record properly. -
WSSpanitz
AskWoody Lounger
-
-
WSSammyB
AskWoody Lounger -
WSSpanitz
AskWoody LoungerJuly 10, 2001 at 2:38 pm #532523OK. Thanks. Tried that, with both Word and PPT running (which is what I would always have going on to need the PasteSpecial, and their workaround doesn’t work. I get a run error at DataType:=wdPasteEnhancedMetafile
They have a comment in their code saying pasting of text doesn’t work. ARG. That is the ONLY reason I would be doing this! Anyone have any cludge workarounds for this?
I want to take Word text and copy it into a specific PPT slide, and take on the existing PPT slide formatting and fonts, etc. A simple paste forces an Arial Unicode font, which messes up a bunch of stuff down the road.
-
WSSammyB
AskWoody LoungerJuly 10, 2001 at 6:35 pm #532553That’s beyond ARG! Sorry I didn’t notice “Text does not support pasting .” IEEEEE!
I’ll try to figure out a workaround. Should be something like ??.InsertAfter=Clipboard.GetText(), but PowerPoint doesn’t seem to know about the Clipboard object. I’ll have to go to another (real) computer. Figures that MS wouldn’t give us the fix that we really need.
-
WSSpanitz
AskWoody Lounger -
WSSammyB
AskWoody LoungerJuly 10, 2001 at 11:47 pm #532595This is a wee bit ugly (my daughter hates the error message), and it dosn’t replace selected text, and it needs more error checking (what if a picture is on the clipboard), but here it is: I’ll make it better tomorrow, so ask more questions if there is something that you don’t like. — Sam
Option Explicit Sub pasteSpecialText() Dim tmpSlide As Slide Dim tmpBox As Shape If ActiveWindow.Selection.Type ppSelectionText Then MsgBox "Please activate the insertion point" Exit Sub End If Set tmpSlide = ActivePresentation.Slides.Add(Index:=1, Layout:=ppLayoutBlank) Set tmpBox = tmpSlide.Shapes.AddTextbox(msoTextOrientationHorizontal, 48, 36, 642, 36) tmpBox.TextFrame.TextRange.Paste ActiveWindow.Selection.TextRange.InsertAfter tmpBox.TextFrame.TextRange.Text tmpSlide.Delete Set tmpSlide = Nothing Set tmpBox = Nothing End Sub
-
WSSpanitz
AskWoody LoungerJuly 11, 2001 at 12:30 am #532600Wow!!! Way cool.
It works perfectly. I was worried at first, because the less-than and the greater-than got translated in the e-mail version of your message into odd symbols, but the website version showed me what to change. Odd that you can’t copy/paste off the website page (no line breaks carry over). Thanks muchly! Seriously, you should promote the darn thing…I can’t imagine I’m the only person wanting this capability.
-
WSspeak2you
AskWoody Lounger -
WSgchutrau
AskWoody Lounger -
WSgchutrau
AskWoody Lounger
-
-
-
-
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Trump signs Take It Down Act
by
Alex5723
2 hours, 32 minutes ago -
Do you have a maintenance window?
by
Susan Bradley
2 hours, 58 minutes ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
4 hours, 6 minutes ago -
Success Knows No End in the World of Online Slots (Awaiting moderation)
by
isobelhartmann1
4 hours, 15 minutes ago -
Cox Communications and Charter Communications to merge
by
not so anon
5 hours, 52 minutes ago -
Help with WD usb driver on Windows 11
by
Tex265
11 hours, 1 minute ago -
hibernate activation
by
e_belmont
14 hours, 47 minutes ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
18 hours, 35 minutes ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
21 hours, 39 minutes ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
21 hours, 41 minutes ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
1 hour, 50 minutes ago -
Out of band for Windows 10
by
Susan Bradley
1 day, 2 hours ago -
Giving UniGetUi a test run.
by
RetiredGeek
1 day, 9 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
1 day, 16 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
3 hours, 1 minute ago -
Auto Time Zone Adjustment
by
wadeer
1 day, 21 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
1 day, 19 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
23 hours, 43 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
12 hours, 9 minutes ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
18 hours, 33 minutes ago -
Apps included with macOS
by
Will Fastie
16 hours, 25 minutes ago -
Xfinity home internet
by
MrJimPhelps
13 hours, 12 minutes ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
1 day, 14 hours ago -
Debian 12.11 released
by
Alex5723
2 days, 18 hours ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
2 days, 22 hours ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
2 days, 1 hour ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
5 hours, 23 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
3 days, 15 hours ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
3 days, 5 hours ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
1 day, 3 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.