Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Angie.
Simply, try this macro to be pasted in the worksheet's code module, like Sheet1: Private Sub Worksheet_Change(ByVal Target As Range) If Target.Column < 1 Then Exit Sub 'only column A If Not IsNumeric(Target.Value) Then MsgBox "---- Only numbers, please! <----" Target.Value = "" Exit Sub End If Target.Value = Int(Target.Value + 0.5) End Sub Regards, Eliano "Angie" wrote: I have created a budget with dollars and cents, however I would like to have the cell round the number. For instance, if I type in $5.45 I'd like the cell value to be $5.00; If I type $117.88, I'd like it to read $118.00. How do I accomplish this? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Import excel spreadsheet into an excel spreadsheet | Excel Worksheet Functions | |||
In Excel I want to copy text from spreadsheet to spreadsheet | Excel Worksheet Functions | |||
convert ms works spreadsheet to excel spreadsheet on pda | Excel Discussion (Misc queries) | |||
conversion of MS Works Spreadsheet to Excel 2002 Spreadsheet | Excel Discussion (Misc queries) | |||
Is there a way to insert a formula, password or macro in an excel spreadsheet that will automatically delete the spreadsheet? | Excel Discussion (Misc queries) |