in the below Excel file cell after cell ( number 75 then 76 then 77 etc…)
Which activity to use. Is that correct to use the write cell activity?
Second question how to be able to paste the value 3.3982 in the Excel file instead of 33982.0000 format??
Can you explain a little bit more how to proceed?
I want to write data’s in A75 then A76 regarding data’s found via matches activity.
Example ( AUD =3.3982 stored in a variable called ienAUD this value should be pasted into A75) and ( CAD= 2.9541 stored in a variable called ienCAD this value should be pasted into A76)
etc…
and how to keep the correct format when I paste the value into Excel?
Assign one Int32 Counter variable with default value set to 75 out of the loop.
2.Inside For each loop take If activity with condition set to Counter<86.
3.Take write cell activity inside if activity and assign range like G+Counter.tostring
4.Take another assign activity with value
Counter=Counter+1 inside loop.
Here if the cell numbers are static then you can use Write cell activity to acheive this. So inorder to loop through the needed cell you have to create a counter and a loop.
The cell range will be F75.F76,F77 ETC… So here 75,76,77.ETC needs to be dynamically generated.
Use while loop i<100. (Here 100 is the last cell to insert, you can change ,also initialise i=75)
Wite cell (Range will be “F”+i.ToString)