Question
July 19, 2007 at 10:35 AM
mascott3

Macro to Paste HTML text as Unformatted text

by mascott3 . Updated 18 years, 5 months ago

On a regular basis, I manually copy/paste HTML to Word 2007 as Unformatted Text.

I created a Macro that was supposed to Paste HTML (or anything on my Clipboard, for that matter) as Unformatted text into a Word Document.

I did this by choosing Tools/Macros/Record New Macro…
Next, I named my new macro PasteAsUnformattedText.
I then assigned Ctrl+Alt+P to the Keyboard Shortcuts.
Next, while the macro was recording, I chose Edit/Paste Special… and then selected ‘Unformatted Text’.
Finally, I stopped my macro.

Unfortunately, my macro just pastes ‘Formatted’ HTML. Are we unable to include the ‘Unformated Text’ selection in a macro process?

Thank you for your help.

This discussion is locked

All Comments