Refresh Pivot Tables in the sheet

@siddhi

in end column value here you have to give the end column like :G or :R

cheers

@Anil_G
Where do I need to specifically add that value?

@Kunal_Jain

It should be like this

Excel.Sheet("Sheetname").Range("A" + (dt.RowCount+1).ToString + ":G" + Excel.Sheet("Sheetname").RowCount.ToString)

Cheers

@Anil_G
still the same error is coming.

Thanks.

@siddhi

Can you please print this in log message first and show it

Cheers

@Anil_G

Here it is.

@siddhi

I want you to print everything inside range …please

Regards,
Anil Bhargav