I have a simple test XLSM file that I am populating and saving as a new filename. It appears that the tab color is lost on the save. Am I doing something wrong?
Dim _book As Workbook = New Workbook
_book.Open("book1.xlsm", FileFormatType.Excel2007Xlsm)
Const _fileName As String = "book1_populated.xlsm"
If My.Computer.FileSystem.FileExists(_fileName) Then
My.Computer.FileSystem.DeleteFile(_fileName)
End If
_book.Save(_fileName, FileFormatType.Excel2007Xlsm)
Thanks,
Rob