'Declaration
Sub Merge( _ ByVal workbook As IWorkbook, _ Optional ByVal duplicate As YesNoCancel _ )
'Usage
Dim instance As IStyles Dim workbook As IWorkbook Dim duplicate As YesNoCancel instance.Merge(workbook, duplicate)
void Merge( IWorkbook workbook, YesNoCancel duplicate )
Parameters
- workbook
- An IWorkbook object that represents the workbook containing styles to be merged.
- duplicate
- A YesNoCancel value that represents the action for duplicated styles.
YesNoCancel.Yes to overwrite all duplicated styles.
YesNoCancel.No to mege only non-duplicated styles.
YesNoCancel.Cancel to merge nothing if there is a duplicated styles.