Word macro: paste plain text
Thread poster: Samuel Murray
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 12:04
Member (2006)
English to 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
Netherlands
Local time: 12:04
Member (2006)
English to Afrikaans
+ ...
TOPIC STARTER
Oh, got it Feb 26, 2024

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


 
Anton Konashenok
Anton Konashenok  Identity Verified
Czech Republic
Local time: 12:04
French to English
+ ...
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
Russian Federation
Local time: 13:04
English to Russian
Keep Text Only Feb 27, 2024

You can use this option in MS Word:


CasaPhil
 
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 12:04
Member (2006)
English to Afrikaans
+ ...
TOPIC STARTER
@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
Russian Federation
Local time: 13:04
English to Russian
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






PerfectIt
Check translations faster for consistency, quality and style guide compliance

PerfectIt helps professional translators deliver error-free documents in Microsoft Word and PowerPoint. It helps improve consistency, ensure quality, and enforce style guides. ProZ members receive a 30% discount off individual purchases of PerfectIt.

More info »
Pastey
Your smart companion app

Pastey is an innovative desktop application that bridges the gap between human expertise and artificial intelligence. With intuitive keyboard shortcuts, Pastey transforms your source text into AI-powered draft translations.

Find out more »