|
-
Jun 18th, 2008, 01:39 AM
#1
Thread Starter
Lively Member
Functional operators in calculator
Hi all,
Am having a calculator like computation forms which does some arithmatical operations in a grid...say like this creates a column where a user can create his own formula on grid columns..it works fine... but the problem is, the user needs funtional operations like MAX,MIN between two column data's..how this could be acheived.... can anyone please help me???
Ex.
Col1 Col2 Col1+Col2 (User Defined)
12 10 22
10 15 25
Col1 Col2 Min(Col1+Col2)+Col2 ----------> how this could be arrived?
12 10 20
Thanks in Advance
-
Jun 23rd, 2008, 04:11 AM
#2
Thread Starter
Lively Member
Re: Functional operators in calculator
No one is there to help me out.......... :-(
-
Jun 23rd, 2008, 05:15 AM
#3
Re: Functional operators in calculator
try like
iif(col1<col2,col1,col2)+col2
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|