View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default variable as Currency two decimal places

If you format it

Format(myVar,"#,##0.00")

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Max Bialystock" wrote in message
...
Hi,

I've defined a variable as Currency. Can I have it display with only two
decimal places. This variable is not in a cell.


--
Regards,
David Lindstrom