#1
|
|||
|
|||
Creating a macro to insert unformatted text
I used to have a macro which - when I pressed Alt-5 - inserted an unformatted text.
But now it does not work anymore and I forgot how I made it. Can someone help me? |
#2
|
||||
|
||||
Do you mean like
Code:
Sub PasteUnfText() On Error GoTo err_Handler Selection.PasteSpecial DataType:=wdPasteText, _ Placement:=wdInLine lbl_Exit: Exit Sub err_Handler: Beep Err.Clear GoTo lbl_Exit End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
Tags |
macro |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro to write bold and unformatted text in a single cell | Snoorelax | Word VBA | 2 | 06-27-2018 06:24 PM |
Pasting as unformatted text VBA | Chayes | Word VBA | 10 | 02-29-2016 06:17 PM |
Creating Shorcuts to insert choices of different text | Chris W | Word | 4 | 01-29-2016 06:43 AM |
Unformatted text paste macro | Ulodesk | Outlook | 1 | 07-03-2014 02:03 PM |
Macro to paste unformatted text | Andacar | Word | 2 | 01-05-2011 09:15 PM |