How to create variables in a script? #488
Quali-Community
started this conversation in
Useful Tips & Guides
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the below vb script, bold ones are my variables ..
How to create this variables in the scripter in studio and pass the value from outside?
How to execute the script in the test?
Const xlDelimited = 1
Const xlWorkbookNormal = -4143
Set objExcel = CreateObject("Excel.Application")
Set objWorkbook = objExcel.Workbooks.Open("C:\Shenick Stats\test8\Aggregate\Default_Host.Normal.csv")
objExcel.Visible = True
objExcel.Workbooks("Default_Host.Normal.csv").SaveAs _
"C:\Shenick Stats\TestGroupName.xls", xlWorkbookNormal
objExcel.Workbooks("test8.xls").Close
For a tutorial on how to create variables in a script please read the attached document.
In this case, the script in question was a VB script, but this can be used in the same way for other languages.
Attachments:
(Quali) - 02/07/2013 11:43 PM
· 2724 ·
Beta Was this translation helpful? Give feedback.
All reactions