View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
joel[_245_] joel[_245_] is offline
external usenet poster
 
Posts: 1
Default Pasting into a Webpage Message box


I'm working om a Webpage project where I'm copying from a word document
to a webpage with a box similar to the message box I'm presently typing
in. The webpage doesn't allow modifying the innertext or innerHTML. I
saved the word document to HTM file format. I then open the html file
as a text file and perform a readall. Then simply move it to the outter
html

IE.myobject.outterhtml = fs.readall

This destroys the box and just displays the tagged data. I was
thinking of just replacing the body protion of the outterhtml but I
can't even find the body tags and don't think this will work. Any
suggestions on the best approach. I know from looking at the proerties
of the obx object is does allow pasting but not sure the syntax to copy
the data from the DOC into the webpage object.


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=156217

Microsoft Office Help