LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default public functions using roundup

I have a bunch of cells with strings like this: (RUP((x+7)*2 +45)*2).
The actual formulas don't matter too much, other than that they aren't
all the same - there are a number of different variables and
parentheses sets.

I'd like to make a function that will allow me to use these strings
mostly as-is. I'm trying to define

RUP(string) = WorksheetFunction.RoundUp(string, 0)

without having to go through and try to replace any text in the
original strings. I'm not sure how to go about this other than
including a lengthy formulation for "string" in the function. Is there
an easier way to do this?
 
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
How do I make my functions public to all workbooks? DMB Excel Discussion (Misc queries) 3 February 16th 06 02:20 PM
Public Functions Sprinks Excel Programming 4 December 23rd 05 06:43 PM
Refering to Public Variables in Functions ExcelMonkey Excel Programming 3 October 12th 05 04:45 PM
Where to Place Public Subs and Functions Chaplain Doug Excel Programming 6 May 19th 05 05:32 PM
Public Functions As Worksheet Available Functions Steve King Excel Programming 3 February 12th 05 07:55 PM


All times are GMT +1. The time now is 04:52 AM.

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

About Us

"It's about Microsoft Excel"