I want to put some value in to my excel worksheet cell.
i want to format the cell to display only for 2 decimal places
for example

VB Code:
  1. dim s as long
  2.  
  3. s=1.236767
  4. .Cells(1, 4).Value = s


so i want the value for .Cells(1, 4).Value should be 1.23

how can i format this??i am using late binding
thanks
wizkid