Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"How to Export results into EXCEL"
#7
Solved: 10 Years, 9 Months, 1 Week ago
Hello,

I have to export a datatable to an Excel File.

I already use the DataTable.ExportSheet "PathOfMyFile", "NameOfMySheet"
Now I'd like to improve this...

I have 2 tests with the same name so 2 iterations.
I have set 2 sheets names BLABLA_1 and BLABLA_2

The Datatable in the Action is named BLABLA
The import is done like this
Datatable.ImportSheet "PathOfMyFile", "NameOfMySheet" & Index, "BLABLA"

-> Index is a manual parameter set in QC.

My question is ... how can I export this ?
I have tried to write
Datatable.ExportSheet "PathOfMyFile", "NameOfMySheet" & index
but the action is named "NameOfMySheet" without index... so error

I have also tried
Datatable.ExportSheet "PathOfMyFile", "NameOfMySheet" but here, excel create a new sheet ..

Could somebody help me ?

(Sorry for my english... I'm french).
Thanks in advance.a
Reply


Messages In This Thread
"How to Export results into EXCEL" - by suresz449 - 12-16-2011, 09:20 AM
RE: "How to Export results into EXCEL" - by SebOfBorg - 06-27-2012, 09:52 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)