Pasting HTML from IE into Word 2007

M

mrgr8avill

Hello -- thanks for taking the time to read this.

I have a web page that I would like to be able to copy and paste into a Word
2007 document. I want to make the copy/paste procedure as convenient as
possible for the user.

Once the page renders in IE, if the user uses the mouse to highlight the
table, hits CTRL-C, then goes to Word and hits CTRL-V, the table displays as
a table -- Word renders the HTML.

But, if I use a javascript "click to copy" function so the user does not
have to precisley highlight the table in IE before copying, when pasted, the
text is non-rendered HTML (example below).

I have tried "paste special" but the only options available are unformatted
unicode or unicode.

How can i get the html below to paste in rendered form -- the same as if the
table itself were highlighted with the mouse and copied?

Thanks in advance for any infromation or assistance you can provide!



<TABLE cellSpacing=0 cellPadding=1 width=600 align=center border=1>
<TBODY>
<TR>
<TD class=historyHead colSpan=9>Transaction History for 305 Hastings
Street</TD></TR>
<TR>
<TD class=historySubHead width="5%">Ref</TD>
<TD class=historySubHead width="15%">Trans Type</TD>
<TD class=historySubHead width="15%">From</TD>
<TD class=historySubHead width="15%">To</TD>
<TD class=historySubHead width="10%">Date</TD>
<TD class=historySubHead width="10%">Document</TD>
<TD class=historySubHead width="10%">Amount</TD>
<TD class=historySubHead width="15%">Doc Type</TD>
<TD class=historySubHead width="5%">Arm's Length</TD></TR>
<TR>
<TD class=historyItemCShade>A</TD>
<TD class=historyItemCShade>Refi</TD>
<TD class=historyItemCShade> </TD>
<TD class=historyItemCShade>Winterroth, Raymond C & Marsha H</TD>
<TD class=historyItemCShade>9/30/2004</TD>
<TD class=historyItemCShade>2004-0000714065</TD>
<TD class=historyItemCShade>$0</TD>
<TD class=historyItemCShade>Deed of Trust</TD>
<TD class=historyItemCShade>No</TD></TR>
<TR>
<TD class=historyItemCShade>B</TD>
<TD class=historyItemCShade>Refi</TD>
<TD class=historyItemCShade> </TD>
<TD class=historyItemCShade>Winterroth, Raymond C & Marsha H</TD>
<TD class=historyItemCShade>9/30/2004</TD>
<TD class=historyItemCShade>2004-0000714064</TD>
<TD class=historyItemCShade>$0</TD>
<TD class=historyItemCShade>Deed of Trust</TD>
<TD class=historyItemCShade>No</TD></TR>
<TR>
<TD class=historyItemCShade>C</TD>
<TD class=historyItemCShade>Refi</TD>
<TD class=historyItemCShade> </TD>
<TD class=historyItemCShade>Winterroth, Raymond C & Marsha</TD>
<TD class=historyItemCShade>8/8/2000</TD>
<TD class=historyItemCShade>2000-0000284318</TD>
<TD class=historyItemCShade>$0</TD>
<TD class=historyItemCShade> </TD>
<TD class=historyItemCShade>No</TD></TR>
<TR>
<TD class=historyItemCShade>D</TD>
<TD class=historyItemCShade>Sale</TD>
<TD class=historyItemCShade> </TD>
<TD class=historyItemCShade>Winterroth, Raymond C & Marsha H</TD>
<TD class=historyItemCShade>11/28/1984</TD>
<TD class=historyItemCShade>1984-283651</TD>
<TD class=historyItemCShade>$86,000</TD>
<TD class=historyItemCShade> </TD>
<TD class=historyItemCShade>No</TD></TR></TBODY></TABLE>
 
M

mrgr8avill

Thanks, Stefan. I see what you are saying, but at least part of my question
relates to Word. Let me reprhrare just that part:

Is there any way to copy HTML text from the clipboard into Word and have the
results be rendered instead of displayed as HTML text?

My Paste special options are unicode or unicode text....

Thanks again!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top