Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy HTML with VBScript?

Status
Not open for further replies.

link9

Programmer
Nov 28, 2000
3,387
US
I need to put a button on an html (asp) page that will copy the page onto the clipboard for later pasting into excel. Is there such a function?

Before you tell me that it's on the edit menu, I have been asked by the users for such a button because most of the visitors to the site are less than savvy. (=

Javascript would also work, if someone knows of a function there.

Thank you
Paul Prewett
 
You could use the Javascript line &quot;document.body.innerText&quot; to select the content on your, but this will only work in Internet Explorer, and it still is not on your clipboard. I'm not sure that is possible to do... <webguru>iqof188</webguru>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top