Try Double or Single.
how come this feature is not available? How do I DIM a decimal? As a Variant?
Try this
VB:Option Explicit Sub test() Dim x As Double x = 5 / 2 MsgBox x End Sub
Hope that Helps
Roy
For free Excel tools & articles visit my web site
If I have helped you and you feel like putting your hand in your pocket please make a donation to Children in Need
About me.
thank you fine sirs worked great
(just working up that beer count aren't you Roy...)
You will never set foot in the UK I suspect, you will have to buy a brewery.
Hope that Helps
Roy
For free Excel tools & articles visit my web site
If I have helped you and you feel like putting your hand in your pocket please make a donation to Children in Need
About me.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks