//--- Is the property object set to copy cell formatting?
boolean willCopyFormatting = copyPasteProperties.CopyFormatting;
//--- Set the property object to copy cell formatting.
copyPasteProperties.CopyFormatting = true;
Code Block
vb.net
vb.net
title
vb.net
'--- Is the property object set to copy cell formatting?
Dim willCopyFormatting As Boolean = copyPasteProperties.CopyFormatting
'--- Set the property object to copy cell formatting.
copyPasteProperties.CopyFormatting = True