Thanks shrewdmonky. I worked on your proposed solution but was not able to
make it work. Thanks to a friend however I have the right syntax.
Which is:
Excel.Range columnToFormat = oSheet.get_Range("A1","A100");
columnToFormat.NumberFormat = "#,##0.00_);[Red] (#,##0.0)"
This works as expected. Why is it so hard for Microsoft to put out useful
documentation?
--
Dopey
[quoted text, click to view] "shrewdmonkey" wrote:
> I don't know anything about interop but i'd suggest setting the cell
> format using: cells(x,y).NumberFormat = "0.00" which only affects
> appearance and then compare cell values using cells(x,y).Value...
>
> Hope that's even remotely close to what you're lookin for :S
>