Solved

Options for pasting HTML into Excel

Posted on 2015-01-16
3
94 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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)
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

696 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