Word macro: paste plain text
Initiator des Themas: Samuel Murray
Samuel Murray
Samuel Murray  Identity Verified
Niederlande
Local time: 05:47
Mitglied (2006)
Englisch > Afrikaans
+ ...
Feb 26, 2024

Hello everyone

My Word installation is wonky. Some things don't work. For example, Shift+Ctrl+V does nothing, even though it is supposed to be the shortcut for the PasteFormat command. So, does anyone know a short macro that, when run, pastes the plain text version of the clipboard at the cursor position? I can then hopefully tie the shortcut to the macro.

Thanks
Samuel


 
Samuel Murray
Samuel Murray  Identity Verified
Niederlande
Local time: 05:47
Mitglied (2006)
Englisch > Afrikaans
+ ...
THEMENSTARTER
Oh, got it Feb 26, 2024

Sub PasteSpecial()
Selection.PasteSpecial DataType:=wdPasteText
End Sub


 
Anton Konashenok
Anton Konashenok  Identity Verified
Tschechische Republik
Local time: 05:47
Französisch > Englisch
+ ...
No need for a macro Feb 26, 2024

You don't need a macro. Just go to File > Options > Customize ribbon > Keyboard shortcuts [Customize], then choose:
Categories: All commands
Commands: PasteTextOnly
Press new shortcut key: a key combination of your choice
Click "Assign".
Done.


Philippe Locquet
 
Stepan Konev
Stepan Konev  Identity Verified
Russische Föderation
Local time: 06:47
Englisch > Russisch
Keep Text Only Feb 27, 2024

You can use this option in MS Word:


Philippe Etienne
 
Samuel Murray
Samuel Murray  Identity Verified
Niederlande
Local time: 05:47
Mitglied (2006)
Englisch > Afrikaans
+ ...
THEMENSTARTER
@Stepan Feb 27, 2024

Stepan Konev wrote:
You can use this option in MS Word:

Does it remember my last choice? I needed something that I could press a shortcut for, since I had to paste a lot.


 
Stepan Konev
Stepan Konev  Identity Verified
Russische Föderation
Local time: 06:47
Englisch > Russisch
Yes, you can use it as many times as you need Feb 27, 2024

Basically this is the same as was suggested above by Anton Konashenok. The only difference is that you use icons.

Philippe Locquet
 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

Word macro: paste plain text






CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

Buy now! »
LinguaCore
AI Translation at Your Fingertips

The underlying LLM technology of LinguaCore offers AI translations of unprecedented quality. Quick and simple. Add a human linguistic review at the end for expert-level quality at a fraction of the cost and time.

More info »