Using Active Server Pages Object Library with excel

A

Arthur Nyunt

I am going to publish some excel documents on our company
intranet. I am able to get the virtual path and want to
convert it to the physical path using the MapPath command
but having problem with it.

here is my code

Dim a As Server
strPath = CStr(ActiveWorkbook.FullName)
MsgBox a.MapPath(strPath)

If anyone can help I would be grateful as there doesn't
appear to be a lot of literature on the web to link up
Active Server Pages Object Library with excel.

Thanks

Arthur
 
Top