You can. Try this,

Set Fso = CreateObject("Scripting.FileSystemObject")
Fso.CreateTextFile " C:\arrayvalues.txt"

lets say your array contains numbers from 0 to 10. I will call it
arrvalues.

For i = Lbound(arrvalues) to Ubound(arrvalues) -1
    Fso.WriteLine arrvalues(i)

Next

Let me know if this works.

On Aug 6, 6:01 pm, Steve <[email protected]> wrote:
> How do I export an array into a text file?
>
> I searched Google and came across this website:
>
> http://www.xtremevbtalk.com/archive/index.php/t-259568.html
>
> But I don't think that will work for me.
>
> Any ideas??
>
> Thanks,
> Steve

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to