Jump to content

[important] excel into web page


jian_xin85

Recommended Posts

If you would like to just show it, but not allow people to change it, use a PDF converter, I recomend Primo PDF, click here. This is a great program that is free, once installed it acts like a printer, and so anything you want to convert, just go file print, tthen select from the list. Now just insert into your page using this coding:

<a href="mypdfdocument.pdf">Click Here to Open</a>

If you would like to show it and let people download it as a file, use this coding:

<a href="myspreadsheet.xls">Click Here to Download</a>

... and if you would like to insert it as an image code whatever and then paste into an image program, then save, and insert this coding:

<img width="???" height="???" src="myexcelpic.gif">

N.B.You dont have to use width and height, take them out if nessisary.So which do I think is th best, well, the image may not be displayed on your users browser very well, and they may have to scroll, the link to the .xls to download isent very good becuase not every may have excel or a compaible version, so I suggest using a PDF.Or even better, you may want a small picture of your spreadsheet that they can click on to open a PDF, here is the code:

<a href="mypdfdocument.pdf"><img border="0" width="200" src="myexcelpic.gif"></a>

I may also have misunderstood you, if you want tables you will need to create them in HTML, here is a simple table:

<table><tr><td>This is cell 1 row 1</td><td>This is cell 2 row 1</td></tr><tr><td>This is cell 3 row 2</td><td>This is cell 4 row 2</td></tr></table>

If you need any more help just post your problems here.

Link to comment
Share on other sites

ermmm i think i phase it wrongly, what i meant was i have a excel program i was thinking whether is it possible to have display it and run it on the web if it's possible ermm is there any source code , program or web sites that can help me with this ... anyway thanks for your help holmedwa04... ermm another question i look on the web , web developer said that it's impossible to lock the source code out from the " right click " method is it true???

Link to comment
Share on other sites

You can't use an Excel file natively on the web, browsers only display HTML content. There is a plugin for IE that will show Office documents in the IE window, but it only works for IE, and you need to have the plugin installed to use it that way.As for the right-click question, there is no way to hide your source code from someone who really wants to see it. If you think you have a way to hide it, let me know and I'll be happy to paste your code. The most secure thing I've seen outright blocks Opera from seeing anything at all, so I don't think it's much of a solution if you deny users content. If you can send the content to the users and think that they can't see your code, let me know.

Link to comment
Share on other sites

Teh, as for hiding your code, stopping right clicks and things people will get around it in the end, but if the person was really determined to get it they will. And as for copying your content, if they cant they will just write or type it. I know, very sad, if you wanted to do that, but all of the info is sent to their PC anyway, otherwise they woulddn't be able to view it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...