Solved

Options for pasting HTML into Excel

Posted on 2015-01-16
3
70 Views
Last Modified: 2015-02-03
Hello,

When pasting a block of HTML into Excel, it sometimes displays the actual HTML (what was pasted) but other times, it displays what the HTML codes for.

What accounts for the difference in how it's displayed?

Is there a setting in Excel to control which of the two forms is displayed?

Thanks
0
Comment
Question by:WeThotUWasAToad
[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
3 Comments
 
LVL 22

Accepted Solution

by:
rspahitz earned 250 total points
ID: 40554663
I haven't seen this but...
1) Maybe it's pasted into a Text field rather than a General field?
2) I've noticed that different browsers paste will produce different results when putting them into Excel.  For example, copy a page from Chrome and paste; some parts will look different if copied from Firefox and pasted or IE and pasted.

Do you have an example (public) page that we can try?
0
 
LVL 14

Assisted Solution

by:ThomasMcA2
ThomasMcA2 earned 250 total points
ID: 40554689
When you want to get just the raw HTML, use Paste Special to paste only the text.

Do all of your paste attempts have a begin tag (<something>) and a matching end tag (</something>)?
0
 

Author Closing Comment

by:WeThotUWasAToad
ID: 40587617
Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

749 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