Can you please post the code here? Just the part you think is causing the problem. We don't see the page either so how to figure out what's wrong with it?
Well, it's still not what you may want but I used this to replace
the enter to convert a linebreak in a form textfield into a <br /> tag.
The database stores it as Chr(13) or Chr(10) and Chr(13)...
Well, here's a technique that creates a table in Excel format dynamically in the browser.
Making it executing dynamically by a clicking of a button should be no problem either.
...
It depends where or how you wish to store those line breaks.
Do you want to preserve them in the output as well eg. when pulling some texts from a database and display it on the page?
...
Showing menubar will mean opening the Word application itself. This method only works if you have Word installed on the server.
Dim objW
Set objW = CreateObject("Word.Application")...
Within ASP I would use JScript, which is for server side scripting. Embed client-side javascript directly in html. Ok, javascript is cool on the client as most browsers support it (unlike VbScript)...