Expected formatting for the excel,
I am Writing this Datatables by using for each loop, in current case there are 2 tables, it may be n no. of tables with n no. of records.
Condition 1 –
If Party Name=“Total Amt Recieved” Then highlight the values in Columns “Amt in INR” and “Amt in USD”
Condition 2 –
Highlight, Bold the Headers and Add the headers for each table.
Condition 3 –
All Borders for filled till the filled rows.
Seqrch for party name and then bold the values of complete row using format cells
Similarly loop through the rows and check for condition as you need and if met use format cell and format the color of required cell using format cells again
I have a one more query, how to Add headers in the excel for the specific rows.
Like in this case i am adding tables one by one in the downside by using For Each Loop.
How we can add headers for each table.