Negative numbers in a spreadsheet cell

L

Lily

I have the following code in my ppt vba working on an open spreadsheet

dim s as string

s=worksheet.cells(1, 1)

It works fine for most cells. However, when the value is negative number,
i.e.,
-8.75, I got a type mismatch error. And I couldn't find a way to get around.

Does anyone have a solution?

thanks,
 
Top