I Have question here, I have 2 excel file one with “Receipt Type”, " Bill No." and “Amount”, and other is “Bill No.”, “Amount AR”, “Amount other AR”. I want to check if Bill No. is AR then fill Amount AR. If not AR fill Amount Other AR.Here is example
First u read the excel having amt nd receipt type
then use for each row before that assign counter as Count=2
in for each use if in that
row(“Receipt Type”)=“AR”
Then : write cell for second with loc B+Count.tostring and in else write cell in C+Count.tostring
after if use assign for count increment
note : bill number must be on same location
if not then tell me i will tell u for that also
then use for each row for second excel in for each of first then use row1(“Bill No”).tostring=Row(“Bill No”).tostring
then : check cond for AR as earlier said nd insted write cell use assign
row1(“Amount AR”)=row(“Amount”)