Excel Paste Special Text as default

mikemcbain

Board Regular
Joined
Nov 14, 2005
Messages
152
Office Version
  1. 365
Platform
  1. Windows
G'day Magicians

I am doing lots and lots (100's) of copy and paste from web sites into Excel spreadsheets every day of the week and I have a Paste Special Button on the Toolbar but both this and right clicking bring up HTML as the default with Unicode text next and Text on the bottom.

It would save me a click every time if Text were the default.

Is that possible to arrange in some way?

I am using Excel 2003 SP3

With thanks

Taswegian
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
mike.

this macro will paste whatever is on the clipboard as text in the active cell:
Code:
Sub PasteAsText()
    ActiveSheet.PasteSpecial Format:="Text", Link:=False, DisplayAsIcon:= _
        False
End Sub
you can assign this to a toolbar icon by first copying this into a new module in the VBEditor and then

1)Going to Tools->Customize on the menubar
2)Click on the Commands tab
3)Scroll down the categories List Box to "Macros"
4)Click and drag the smiley face icon from the Commands list box up to a toolbar of your choosing
5)With the smiley face icon still highlighted, goto Modify Selection -> Assign Macro (on the Customize form)
6) Select PasteAsText from the Macro Menu and click "OK"
7) You can quit now, or you can edit the image using Modify Selection button

now after you copy something from a website, you can select and appropriate cell in your workbook and then click on the icon to pastespecial. an alternative approach would be to assign a keyboard shortcut to your macro. this can be accomplished by

1) Goto Tools->Macros->Macros on the menubar
2) Select the PasteAsText from the Macro Menu and click "Options"
3) Follow the commands on the next form

hope this helps. ben.
 
Upvote 0
Firefytr

I only posted to the other forum after no responses were received here in the first 12 hours. Is that an OK thing to do?

Mike.
 
Upvote 0
i'm not zack, but probably would be best to delete your initial post before reposting (i think this is possible?). i would have been bummed if i had worked this to find you didn't need the solution anymore!

ben.
 
Upvote 0
Yes it's ok, it's just a courtesy. As Ben points out, it's kind of a bummer for people who are working on simultaneous solutions. But it's ok.
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top