Hi,

I need to update a fairly large spreadsheet so that all numbers are rounded
up... using roundup()

Ive looked around and ive come to the conclusion i need to use VBA.

can anyone help?

thanks.

Matty

Re: Using roundup() but on a whole spreadsheet instead of since cells by Bob

Bob
Thu May 08 10:45:31 CDT 2008

For Each cell In ActiveSheet.UsedRange

If Not cell.HasFormula Then

If cell.Value <> "" Then

cell.Value = Application.RoundUp(cell.Value, 0)
End If
End If
Next cell



--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"bobmanuk" <bobmanuk@discussions.microsoft.com> wrote in message
news:598B2EF0-EF16-471D-90C3-BFEB5D290E81@microsoft.com...
> Hi,
>
> I need to update a fairly large spreadsheet so that all numbers are
> rounded
> up... using roundup()
>
> Ive looked around and ive come to the conclusion i need to use VBA.
>
> can anyone help?
>
> thanks.
>
> Matty