Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-25-2011, 01:20 AM
macropod's Avatar
macropod macropod is offline Paste Special Unformatted Text Windows 7 32bit Paste Special Unformatted Text Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,516
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

Hi Ken,

Each Office App could have a macro added to the default template (eg Normal.dotm in Word) that is activated via a keyboard shortcut. It should be possible to find an unused shortcut combo that's available across all (or at least most) applicable Office Apps.

A suitable macro for Word is:
Code:
Sub PasteUnformattedText()
' The next line is in case there's nothing in the Clipboard
On Error Resume Next
Selection.PasteSpecial DataType:=wdPasteText
End Sub
And, for Excel:
Code:
Sub PasteUnformattedText()
    On Error Resume Next
    Selection.PasteSpecial Paste:=xlPasteValues
End Sub
If you prefix the subs with 'Private', they won't show up in the macros list.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
paste special, unformatted text



Similar Threads
Thread Thread Starter Forum Replies Last Post
Paste Special Unformatted Text Macro to paste unformatted text Andacar Word 2 01-05-2011 09:15 PM
Paste Special Link no longer working MrsMoe PowerPoint 0 12-20-2010 10:54 PM
Paste Special Unformatted Text special copy/paste iconofsin Excel 1 09-15-2010 12:10 AM
Using Paste/Special wih Excel data chickasaw PowerPoint 0 02-05-2010 10:00 PM
Paste Special Unformatted Text Copy and paste special Dace Excel 2 02-16-2009 12:18 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:40 AM.


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