Re: Pasting HTML from IE into Word 2007

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




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!


"Stefan Blom" wrote:

You may want to ask this in a forum devoted to JavaScript instead.

--
Stefan Blom
Microsoft Word MVP



"mrgr8avill" <mrgr8avill@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CE6001F3-D109-4546-B93D-1791499E0336@xxxxxxxxxxxxxxxx
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>



.



Relevant Pages

  • Pasting HTML from IE into Word 2007
    ... Once the page renders in IE, if the user uses the mouse to highlight the ... text is non-rendered HTML. ... unicode or unicode. ...
    (microsoft.public.word.docmanagement)
  • Re: Shift_JIS conflict with CSS?
    ... dreadfully convoluted HTML, however with OO the only cluttering it did ... I had which understood UTF-8 was JWPce. ... stuff and resave the file without any corruption of the unicode. ... The bottom line is that if you want a plain text editor that can input ...
    (sci.lang.japan)
  • Re: Question about unicode in internet explorer and notepad
    ... This mean that the code page for the text in the HTML uses the standard ASCII character set - windows-1252 ... Because the browser can understand this meta tag you get Unicode characters in the displayed HTML. ... > Then, I save notepad, but when I do so I recieve a message ...
    (microsoft.public.win2000.general)
  • Re: Selbstständiges Herunterfahren
    ... Hallo Stefan, ... ich keine Kreise auf der Brust habe, ... zwar Unicode benutzt, aber zusätzlich Unicode-Werte als Hex-Werte darstellt. ... Selbst wenn man dieses Export-File in Ascii wandelt, ...
    (microsoft.public.de.german.windowsxp.sonstiges)
  • Re: Some OE6 News Posts Are Unreadable
    ... Unicode problem reported for OE5 in that article. ... I did try a couple of posts from the laptop last night and did as the ... does it also show the Unicode in the HTML section as ... it from the news server, do you still see Unicode it if was originally ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)