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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top