[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Create Word 2007 button to paste Unformatted Text

Posted on 2010-09-13
9
Medium Priority
?
597 Views
Last Modified: 2012-08-13
Hi,

I often want to paste text from web pages and other sources into my Word 2007 documents.

When I do this, I have to click Paste / Paste Special / Unformatted Text.

I would like to be able to create a button on my Quick Access Toolbar that when I click, it just does a 'Paste Unformatted Text' in a single operation without me having to click anything else.  

I cannot see an easy way to do this because the 'Unformatted Text' or 'Paste Unformatted Text' option does not appear under 'All Commands' on the Customize menu of the Quick Access Toolbar: the closest I can get is 'Paste Special' which still needs an additional click to get 'Unformatted text'.

I know that I can copy and paste formats using Ctrl+Shift+C and V, but again that is a two stage process.

What do you think is the best way to achieve this?

Many thanks,
Daz.
0
Comment
Question by:Daz_1234
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 1

Expert Comment

by:gonzaria
ID: 33662174
Probably the easiest way would be to create a macro, and then add a button for the macro onto your toolbar :-)
0
 
LVL 13

Author Comment

by:Daz_1234
ID: 33662189
Thanks.  What method should be used?
0
 
LVL 1

Accepted Solution

by:
gonzaria earned 2000 total points
ID: 33662253
In the developer tab, there is a record macros option.

Create a new macro, name it something, and then it will start "recording"

Go back  to the main tab, perform the "paste special" procedure you described above, then go back to the developers tab and click stop.

There's a thing called the quick access toolbar, you can then customise it by adding a button for your macro (i'll just go back and check on how to get that toolbar up and follow with the rest of the instructions...)
0
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 
LVL 1

Expert Comment

by:gonzaria
ID: 33662317
So the toolbar should be there just lurking either above the office button or below the ribbon (my bad, i thought it had to be turned on somewhere).

Right click your quick access toolbar, select customise. From the choose commands drop down box, select macros...you should see the name of yours there. Select it, add it, click ok. Your toolbar will now have a button for the macro. So, all things going well,  you'll be able to copy text from wherever, and click on your new button to paste it :-)
0
 
LVL 13

Author Comment

by:Daz_1234
ID: 33662422
Hi gonzaria,

Have you tried this solution?

I tried your advice, and the macro came up with this method:

Selection.PasteAndFormat (wdPasteDefault)

... but when running the macro it does not work - it just acts like a normal paste.


So I used the VBA editor and spotted another possible parameter.  The following does actually seem to work:

Selection.PasteAndFormat (wdFormatPlainText)

Daz.
0
 
LVL 13

Author Comment

by:Daz_1234
ID: 33662517
Hi gonzaria,

Is there any way I can award you some of the points?  Although the idea you suggested did not work, it did put me on the right path, so I think you deserve some points.  

When I accept my answer, the system won't let me give you some of the points - sort of all or nothing.

Daz.
0
 
LVL 13

Author Comment

by:Daz_1234
ID: 33662533
Ah heck, have them all!
0
 
LVL 1

Expert Comment

by:gonzaria
ID: 33662548
Well spotted - in my test copy and paste i din't grab anything with hyperlinks (its nearly midnight where I am - losing the plot - sorry!)

Selection.PasteAndFormat (wdFormatPlainText) actually does work nicely. And you can still turn the macro into a quick button.

0
 
LVL 13

Author Comment

by:Daz_1234
ID: 34609851
Just a quick comment to anyone finding this question useful.

I now use "PureText" - this is a simple tool that enables you to past the text from the clipboard into any application as pure or unformatted text.  I swear by it now, especially for copying text from web pages into emails as unformatted text.  the default key combination is WinKey + V

Here is the tool:  http://www.stevemiller.net/puretext/
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
Cancel future meetings from user mailboxes in Office 365 using Remove-CalendarEvents
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question