Copy format from one cell and apply to area

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
GenasysCarl
Posts: 11
Joined: Mon Jan 09, 2017 6:15 am

Copy format from one cell and apply to area

Post by GenasysCarl »

Hi,

I would like to copy a format from one cell and then apply that format to multiple cells. What is the fastest (performance) way to do this? I have looked at the FormatCells example, but cannot figure out how to get existing formats from cells in the spreadsheet.

Thanks,
Carl
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Copy format from one cell and apply to area

Post by larsa »

Hello

Use CopyCell This will copy any formatting.
Lars Arvidsson, Axolot Data
Post Reply