Need Cells(n-m).NumberFormat Equivalent


#1

Hi,

I have some excel code that I need to mimmic in Aspose.Cells.

(Cells(nStartRowNum, nCounter).NumberFormat <> "General" And Cells(nStartRowNum, nCounter).NumberFormat <> "Text"

Is this possible in Aspose? Is there an equivalent that I can use?

Thanks,

KM


#2

In Aspose.Cells, you can use:

[C#]

cells["A1"].Style.Number != 0 && cells["A1"].Style.Number != 49

[VB]

cells("A1").Style.Number != 0 && cells("A1").Style.Number != 49


#3

Thanks for the help laurence