Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you are interested... Sometimes just rearranging your equation can
prevent Excel from seeing all integers. However, it's best to declare your variables as others have shown. Sub NewOne() Dim A Dim B Dim StatusBarVariable A = 1 B = 2 StatusBarVariable = (A / 15000) * (B / 244) * 100 End Sub StatusBarVariable = (A * B) / (15000 * 244) * 100 -- Dana DeLouis Using Windows XP & Office XP = = = = = = = = = = = = = = = = = "ExcelMonkey " wrote in message ... Thanks --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Overflow error when declaring variables | Excel Discussion (Misc queries) | |||
Overflow error.. why? | Excel Discussion (Misc queries) | |||
runtime error '6' overflow | Setting up and Configuration of Excel | |||
Overflow Error | Excel Discussion (Misc queries) | |||
Run-time error 6 Overflow | Excel Programming |