Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Writing to Run time data table
#3
Not Solved
Thanks for the quick reply Aditi. I tried to implement your code.

1. The spreadsheet is visible with this line of code you mentioned.
Code:
xl.Application.Visible = true
But, how to keep the cursor focus on the row that the application is currently working on. Can you please provide the code for it?

2. I am able to write the data on to the spreadsheet with the help of your code
Code:
sheet.cells(k,h).value =b

But, I am getting error message when I try to write on run time data table.
Error was saying "The set DataTable.Value operation failed. The <D> column does not exist.
Code:
"DataTable.Value("D", dtGlobalSheet) = a .

Can you please help me out?
Reply


Messages In This Thread
Writing to Run time data table - by Neetha - 08-22-2015, 06:52 AM
RE: Writing to Run time data table - by ADITI1992 - 08-23-2015, 01:24 PM
RE: Writing to Run time data table - by Neetha - 08-24-2015, 08:10 PM
RE: Writing to Run time data table - by supputuri - 08-26-2015, 07:50 PM
RE: Writing to Run time data table - by Neetha - 08-27-2015, 06:20 AM
RE: Writing to Run time data table - by supputuri - 08-27-2015, 10:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  data table use uft_usr 1 2,116 06-29-2016, 05:23 PM
Last Post: Ankesh
  QTP not recogonising object during run time Lavanya N 2 3,553 10-28-2015, 12:46 PM
Last Post: vinod123
  How to Export run result viewer with CAPTURED DATA and save it in PDF,or Doc,or HTML akhandesh 0 2,809 07-16-2015, 06:03 PM
Last Post: akhandesh
  Writing values to DataTable chewbecca 2 2,988 04-09-2015, 05:48 PM
Last Post: chinnikrishna
  Reading and writing is the same text file poulomi21b 2 5,860 07-08-2014, 12:39 PM
Last Post: poulomi21b

Forum Jump:


Users browsing this thread: 4 Guest(s)