Forum Discussion
wynand_bwr
13 years agoOccasional Contributor
Hi
Thanks for the reply!!!
I came up with a solution myself last week.
What I did was create a VB script file with code. The created a .BAT that calls this file and executes it.
VBS :
Set aa = CreateObject("Excel.Application")
Set bb = aa.Workbooks.Open("C:\TC_Regression_Test_Data\TC_Regression_Test_Data.xls")
Set cc = aa.worksheets("Sheet1")
cc.Rows(2).Delete
bb.Save
aa.Workbooks.Close()
BAT :
@echo off
start c:\TC_Regression_Test_Data\TC3.vbs
pause
Thanks for the reply!!!
I came up with a solution myself last week.
What I did was create a VB script file with code. The created a .BAT that calls this file and executes it.
VBS :
Set aa = CreateObject("Excel.Application")
Set bb = aa.Workbooks.Open("C:\TC_Regression_Test_Data\TC_Regression_Test_Data.xls")
Set cc = aa.worksheets("Sheet1")
cc.Rows(2).Delete
bb.Save
aa.Workbooks.Close()
BAT :
@echo off
start c:\TC_Regression_Test_Data\TC3.vbs
pause