Code for invoke code activity to merge cells in Excel

@Ritesh_Kumar4

Check below thread for your reference

Hope this will help you

Thanks