Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Using roundup() but on a whole spreadsheet instead of since cells

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Using roundup() but on a whole spreadsheet instead of since cells

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" wrote in message
...
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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A spreadsheet will not link to cells in another spreadsheet? paulefs Excel Discussion (Misc queries) 1 October 11th 07 01:43 AM
Set a range of cells for ROUNDUP Richard Excel Discussion (Misc queries) 6 May 11th 07 01:09 PM
roundup by 16s Sum Limit and marking Excel Worksheet Functions 3 July 28th 06 03:23 PM
Roundup for multiple cells STK Excel Discussion (Misc queries) 1 September 28th 05 04:21 PM
How do I ROUNDUP a Column of cells on a worksheet template? house mouse Excel Worksheet Functions 2 December 16th 04 06:49 PM


All times are GMT +1. The time now is 08:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"