We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to copy formatting from cell range


I've a master sheet, where I am adding all the formatting information. Need help on following scenario;

Cell range : B2 - C2 with formatting applied.

Wish to copy all the formatting information from above mentioned cell range to a table with 2 columns (headers excluded). If possible, please send me a sample.

Regards, Vinay

Hi Vinay,

I think you may try Range.CopyStyle() method to copy the fromatting from the source range to other range of cells for your requirement.

See the document for reference:

Thank you.