Thread: format
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Per Jessen Per Jessen is offline
external usenet poster
 
Posts: 1,533
Default format

Hi geebee

Range("A1") = Format(Range("A1").Value, "0.00%")

Regards,

Per

"geebee" (noSPAMs) skrev i en meddelelse
...
hi,

i thought i had it figurd out... hi,

i have the following in my VBA code:

range("A1").formula = "test " & TEXT(range("A11").value, "0.0%") & " eggs"

i am just trying to format the A11 value as a pecentage. for example, the
value currently in A11 is 109.9. how can i do this?

thanks in advance,
geebee