Question : Identifying a cell in a declaration as having any value that falls within a specified range

In these declarations:
Set top = Columns("D:D").Find(What:=[E2], After:=Cells(4, 4), LookIn:=xlValues)
Set btm = Columns("d:d").Find(What:=[F2], After:=Cells(4, 4), LookIn:=xlValues)

How do I modify the second one to say in effect:
Set top = Columns("D:D").Find(What:= [Any value  > [F2]  AND < [G2]  After:=Cells(4, 4), LookIn:=xlValues)
Set btm = Columns("d:d").Find(What:=[F2], After:=Cells(4, 4), LookIn:=xlValues)

Answer : Identifying a cell in a declaration as having any value that falls within a specified range

How about this:


<form method="post" action="">
Pick up your hobby :<br />
<input type="checkbox" name="hobby1" value="Fishing" />Fishing<br />
<input type="checkbox" name="hobby2" value="Reading" />Reading<br />
<input type="checkbox" name="hobby3" value="Sleeping" />Sleeping<br />
<input type="checkbox" name="hobby4" value="Eating" />Eating<br />
<input type="checkbox" name="hobby5" value="Swimming" />Swimming<br />
<input type="submit" name="submit" value="Submit" />
</form>
And part of the PHP Codes :
/* ############################# */
$amount = 5; // Amount of checkboxes
$prefix = "hobby"; // prefix for checkboxes (before numeric identifier)
$holder = array();
/* Arraying checkboxes result */
for ($i=1;$i<=$amount;$i++){
if($_POST[$prefix.$i] != ''){
 $holder[] = $_POST[$prefix.$i];
}
}
$result = implode(",", $holder);
Random Solutions  
 
programming4us programming4us