Thanks for your posting and using Aspose.Cells for .NET.
We have tested your issue with the following code and did not find any issue. Please download and use the latest version: Aspose.Cells
for .NET v7.6.0.6 and see if it resolves your issue.
We have attached the output file generated by this code for your reference. If your issue still persist, then please provide us your runnable sample code and the output file to look into this issue. We will investigate it and help you asap.
after carefully checking it looks like when i set right border for Cell C22, it also sets left order for D22 ( the common border for C & D) and that why its creating new page on right side
Since borders are shared, so when you will set the right border of the cell C22, it will automatically set the left border of cell D22. So it is a correct behavior. It should not create a new page.
Please provide us your sample code and the output file so that we could look into this issue further.