View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Number stored as text

Try inserting the following before your line of code:

Cells(1, 1).Value = Cells(1, 1).Value * 1
--
Gary''s Student


"Prashwee" wrote:

Hello All

I have changed my reginal settings to swedish

Then i use the folowing statement in my application
ApExcel.Cells(1, 1).value =FormatCurrency("1,00", 2, vbFalse, vbFalse,
vbTrue)


when i open my Excel sheet, cell 1,1 has a smll green trangle . when i
press it it warns "Number stores as text".
how do i avoid this. I need to store it as number


/Thanks in advance
Prash