Here in my automation tool, i am retreiving some values and
i need to store this values in the excel. How can i achieve
this?. We are using VBA as scripting language. please let
me know if you require any further inputs.
Answer / suryanarayan mohanty
Set fs = CreateObject("Excel.Application")
If Not (fs.fileexists(FileName)) Then
Set fd = fs.createFile(FileName)
End If
Open FileName For Append As 1
Write #1, xyz, dwe, qws
Close #1
End If
| Is This Answer Correct ? | 1 Yes | 1 No |
hai..friends ....what is the difference between function and sub procedure ....here every one know's theoretically here my question is what is the meaning of function can return the value and sub can't return the value...can you give one example with some values for that ....what does it mean ? how function can return the value...sub can not...any one please...........with example
Difference between Function and Sub routine?
write a vbscrpit to swap values
How to check the particular window is exist or not with out using check points
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
Explain the operator precedence in vb script?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
what is the function to get the ascii value of the character?
write generic functions for webapplication?like generic function for webedit generic function for webbutton generic function for links
find the length of the string without using length function?
How can you have different number of cells for each row of a table in HTML?