nevets2001uk
IS-IT--Management
I'm trying to create a web page with a normal link which will load an excel file.
The first thing I want to achieve is to load the file when the user clicks a link. I'd rather use this than have to place a button on the screen. I've thought of a bodgy way of achieving the effect but there must be a simple way to add a sub event for a link or something!
Also is it possible to check for current running versions of excel before opening a new session. So if there is an excel session running the code should simply load the excel file into that session but if excel is not running then it should open it first and the load the file.
Finally can you open the file as read only so that the intranet users accessing it can just view it but not save their changes?
I'd assume VBScript can do all the above but I'm no expert.
Steve
The first thing I want to achieve is to load the file when the user clicks a link. I'd rather use this than have to place a button on the screen. I've thought of a bodgy way of achieving the effect but there must be a simple way to add a sub event for a link or something!
Also is it possible to check for current running versions of excel before opening a new session. So if there is an excel session running the code should simply load the excel file into that session but if excel is not running then it should open it first and the load the file.
Finally can you open the file as read only so that the intranet users accessing it can just view it but not save their changes?
I'd assume VBScript can do all the above but I'm no expert.
Steve