+ Reply to Thread
Results 1 to 3 of 3

Always paste plain text in Excel 2007

  1. #1
    Registered User
    Join Date
    06-05-2012
    Location
    asdf
    MS-Off Ver
    Excel 2003
    Posts
    3

    Always paste plain text in Excel 2007

    I copy and paste a lot of data from websites into Excel, and I'm tired of choosing Paste Special every time.

    How can I force Excel to paste as plain text with no formatting?

    I found this macro elsewhere and it works some of the time, but it causes errors when copying and pasting within the same Excel sheet or if you try to paste the same text twice.

    ActiveSheet.PasteSpecial Format:="HTML", Link:=False, DisplayAsIcon:=False, NoHTMLFormatting:=True

  2. #2
    Registered User
    Join Date
    06-05-2012
    Location
    asdf
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Always paste plain text in Excel 2007

    I'm guessing that the problem is the Format. Is there a way to detect whether the text in the clipboard is HTML or plain text?

  3. #3
    Registered User
    Join Date
    06-05-2012
    Location
    asdf
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Always paste plain text in Excel 2007

    I'm still stuck trying to detect whether the text is HTML or plain text before pasting. Any ideas on how to do this?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1