C
CRayF
How do I call the XLS that is one directory “UP†from where the VBS file is
located? (VBS is located in a subdir) I tried
=== XLApp.Workbooks.Open "..\RaceBetting.xls" === but that did not work.
RaceBetting.vbs:
-----------------
Dim XLApp
Dim XLWkb
Set XLApp = CreateObject("Excel.Application")
XLApp.Visible = true
XLApp.Workbooks.Open "RaceBetting.xls"
XLApp.ActiveWorkbook.RunAutoMacros 1
located? (VBS is located in a subdir) I tried
=== XLApp.Workbooks.Open "..\RaceBetting.xls" === but that did not work.
RaceBetting.vbs:
-----------------
Dim XLApp
Dim XLWkb
Set XLApp = CreateObject("Excel.Application")
XLApp.Visible = true
XLApp.Workbooks.Open "RaceBetting.xls"
XLApp.ActiveWorkbook.RunAutoMacros 1