Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help Programming Limit Constraint


Hey All,

Just a quick question. I have a function called -IndexSim- and woul
like to set an IF statement so that it is inbetween two values
-UpperRange- and -LowerRange-. I have used the following:


VBA:
If IndexSim(Cnt) = LowerRange And IndexSim(Cnt) <= UpperRange Then

Is this correct, as I don't think it produces the outcome I want?

Please advise,

Many thanks,

Suz8

--
Suz8
-----------------------------------------------------------------------
Suz84's Profile: http://www.excelforum.com/member.php...fo&userid=3618
View this thread: http://www.excelforum.com/showthread.php?threadid=56741

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
SQL Query with constraint in a cell Dan Excel Discussion (Misc queries) 2 March 10th 09 05:48 PM
Add Constraint - "Solver: tikchye_oldLearner57 Excel Discussion (Misc queries) 2 August 14th 06 06:37 AM
Adding a constraint. AhmtDY Excel Discussion (Misc queries) 2 May 6th 05 09:59 AM
cell value constraint Balder Excel Discussion (Misc queries) 2 April 18th 05 07:14 PM
solver constraint jojo Excel Worksheet Functions 0 February 17th 05 10:11 PM


All times are GMT +1. The time now is 01:05 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"