View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Wood Grafing Wood Grafing is offline
external usenet poster
 
Posts: 57
Default Input Box Question

I forgot to mention, works fine as is when entering .5, but the cell A1 was
set to General formatting.

HTH

"Wood Grafing" wrote:

Sub input_test()
strInput = InputBox("Number Please?", "Wee!")
Range("A1") = strInput
End Sub

"bumper338" wrote:

I am using an input box to enter a number into a cell, but when I try to
enter a half number (for example .5), the cell rounds the number up to a
whole number. How do I format the cell to get the .5 to enter into the cell
and not have it round up to 1? I have tried formatting the cell as text but
still no luck.


Any suggestions?