Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 02-05-2023, 02:24 PM
AlanCantor AlanCantor is offline Is it possible to create a shortcut for a command that's not in "all commands"? Windows 10 Is it possible to create a shortcut for a command that's not in "all commands"? Office 2019
Competent Performer
 
Join Date: Nov 2020
Posts: 154
AlanCantor is on a distinguished road
Default

Quote:
Good catch!

I hadn't noticed the PasteTextOnly command before, but I am assuming that it has been around for years.
I wish I had an old version of Word to check this. I've been customizing Word for 25+ years, and until now, not noticed "PasteTextOnly." I've always used VBA to achieve this. I don't think I've updated this code in decades:

Code:
Sub PasteVerySpecial()
    Selection.PasteSpecial Link:=False, DataType:=wdPasteText, Placement:= _
        wdInLine, DisplayAsIcon:=False
End Sub

I wouldn't be surprised to find out that the "PasteTextOnly" command was added relatively recently. I think I would have spotted it in Word 2007 and 2010. I spent significant amounts of time messing with both.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2003: Assign "Home" to keyboard shortcut Ctrl+Q+S? Clueless in Seattle Word VBA 1 02-06-2023 06:36 PM
Excel 2003: VBA "Function" causes "#VALUE!" errors after running "insert/delete row" custom macro Matt C Excel Programming 2 01-08-2022 06:03 AM
Is it possible to create a shortcut for a command that's not in "all commands"? How do you use the "seq" command to start a list at "2" (not "1")? techwriter3k Word 4 05-22-2020 07:59 AM
How to create a "Font color" button and a "Highlight text" button in the Quick Launch toolbar ? gloub Word 12 02-19-2019 03:19 PM
Create exceptions to the "Capitalize Each Word" command TonyTyner@comcast.net PowerPoint 0 03-13-2015 09:13 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:47 PM.


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