As part of a vbscript function I have the following for opening excel
and powerpoint documents:
elseif ucase(right(name,3)) = "XLS" or ucase(right(name,3)) = "XLT"
then
set exl = createobject("Excel.Application")
exl.visible = true
exl.Workbooks.add(name)
set...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.