Hello,
I am trying to use standard excel function CEILING to round up. But I am getting an error: "Sub or Function not defined" - Help please
In the above example, should get a result 11![]()
e = CEILING(10.6, 1)
Thanks in advance.
Anil
Hello,
I am trying to use standard excel function CEILING to round up. But I am getting an error: "Sub or Function not defined" - Help please
In the above example, should get a result 11![]()
e = CEILING(10.6, 1)
Thanks in advance.
Anil
TryCan you incorporate that at all?![]()
Worksheetfunction.Ceiling
Hello Akabraha,
You need to prefix the Excel function with the WorsheetFunction statement like this...
Sincerely,![]()
e = ActiveSheet.WorksheetFunction.CEILING(10.6, 1)
Leith Ross
Thanks a lot BigBas and Leith Ross - you guys are so quick!!
above code worked just fine.![]()
e = WorksheetFunction.CEILING(10.6, 1)
when I tried to add ActiveSheet as shown above, it gave me an error: "Object doesn't support this method or property"![]()
e = ActiveSheet.WorksheetFunction.CEILING(10.6, 1)
Have a great weekend.
Thanks, Anil
Last edited by akabraha; 08-24-2007 at 03:55 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks