--------------------------------------------
On Mon, 8/29/16, nik asry nik man <nika...@gmail.com> wrote:

 Subject: Re: $$Excel-Macros$$ Fwd: Cell Sum input Criteria
 To: excel-macros@googlegroups.com
 Received: Monday, August 29, 2016, 8:58 AM
 
 Thank paul
 for your guidance.
 On 29 Aug 2016 20:07, "Paul
 Schreiner" <schreiner_p...@att.net>
 wrote:
 
 
 >
 
 
 
 > In your statement:
 
 > ElseIf (aCell.Value >= 10000000 & aCell.Value
 <= 25000000) & Range("D2").Value = 0
 Then
 
 >
 
 > "&" is a text "concatenate"
 symbol.
 
 >
 
 > That means that it resolves to:
 
 > True & True & 0 = 0
 
 > or
 
 > If (TrueTrue0 = 0)
 
 >
 
 > Which is false.
 
 >
 
 > You need to use "and" instead of
 "&"
 
 >
 
 > I'd also include ALL "()"
 
 >  
 
 > Like:
 
 > ElseIf ((aCell.Value >= 10000000 And aCell.Value
 <= 25000000) _
 
 >     And (Range("D2").Value = 0)) Then
 
 >
 
 > Also:
 
 >
 
 > I'd move the Intersect to before the "For Each
 aCell" statement so that you only run this if you
 change something in the range("A2:A6")
 
 > Otherwise, it checks the entire range even when you
 change something elsewhere on the sheet.
 
 >
 
 > Paul
 
 > -----------------------------------------
 
 > “Do all the good you
 can,
 
 > By all the means you
 can,
 
 > In all the ways you
 can,
 
 > In all the places you
 can,
 
 > At all the times you
 can,
 
 > To all the people you
 can,
 
 > As long as ever you can.” -
 John Wesley
 
 > -----------------------------------------
 
 >
 
 >
 
 > On Monday, August 29, 2016 5:40 AM, nik
 asry nik man <nika...@gmail.com>
 wrote:
 
 >
 
 >
 
 > Dear All,
 
 > Please anyone help me to resolve the problem below;
 
 > Why the validation result only for cell A1.
 
 > -- 
 
 > Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do
 you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official
 Facebook page of this forum @
 https://www.facebook.com/discussexcel
 
 >  
 
 > FORUM RULES
 
 >  
 
 > 1) Use concise, accurate thread titles. Poor thread
 titles, like Please Help, Urgent, Need Help, Formula
 Problem, Code Problem, and Need Advice will not get quick
 attention or may not be answered.
 
 > 2) Don't post a question in the thread of another
 member.
 
 > 3) Don't post questions regarding breaking or
 bypassing any security measure.
 
 > 4) Acknowledge the responses you receive, good or
 bad.
 
 > 5) Jobs posting is not allowed.
 
 > 6) Sharing copyrighted material and their links is not
 allowed.
 
 >  
 
 > NOTE : Don't ever post confidential data in a
 workbook. Forum owners and members are not responsible for
 any loss.
 
 > --- 
 
 > You received this message because you are subscribed to
 the Google Groups "MS EXCEL AND VBA MACROS"
 group.
 
 > To unsubscribe from this group and stop receiving
 emails from it, send an email to
 excel-macros+unsubscr...@googlegroups.com.
 
 > To post to this group, send email to
 excel-macros@googlegroups.com.
 
 > Visit this group at
 https://groups.google.com/group/excel-macros.
 
 > For more options, visit
 https://groups.google.com/d/optout.
 
 >
 
 >
 
 > -- 
 
 > Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do
 you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official
 Facebook page of this forum @
 https://www.facebook.com/discussexcel
 
 >  
 
 > FORUM RULES
 
 >  
 
 > 1) Use concise, accurate thread titles. Poor thread
 titles, like Please Help, Urgent, Need Help, Formula
 Problem, Code Problem, and Need Advice will not get quick
 attention or may not be answered.
 
 > 2) Don't post a question in the thread of another
 member.
 
 > 3) Don't post questions regarding breaking or
 bypassing any security measure.
 
 > 4) Acknowledge the responses you receive, good or
 bad.
 
 > 5) Jobs posting is not allowed.
 
 > 6) Sharing copyrighted material and their links is not
 allowed.
 
 >  
 
 > NOTE : Don't ever post confidential data in a
 workbook. Forum owners and members are not responsible for
 any loss.
 
 > --- 
 
 > You received this message because you are subscribed to
 the Google Groups "MS EXCEL AND VBA MACROS"
 group.
 
 > To unsubscribe from this group and stop receiving
 emails from it, send an email to
 excel-macros+unsubscr...@googlegroups.com.
 
 > To post to this group, send email to
 excel-macros@googlegroups.com.
 
 > Visit this group at
 https://groups.google.com/group/excel-macros.
 
 > For more options, visit
 https://groups.google.com/d/optout.
 
 
 
 
 
 -- 
 
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you
 wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official
 Facebook page of this forum @ https://www.facebook.com/discussexcel
 
  
 
 FORUM RULES
 
  
 
 1) Use concise, accurate thread titles. Poor thread titles,
 like Please Help, Urgent, Need Help, Formula Problem, Code
 Problem, and Need Advice will not get quick attention or may
 not be answered.
 
 2) Don't post a question in the thread of another
 member.
 
 3) Don't post questions regarding breaking or bypassing
 any security measure.
 
 4) Acknowledge the responses you receive, good or bad.
 
 5) Jobs posting is not allowed.
 
 6) Sharing copyrighted material and their links is not
 allowed.
 
  
 
 NOTE  : Don't ever post confidential data in a workbook.
 Forum owners and members are not responsible for any
 loss.
 
 --- 
 
 You received this message because you are subscribed to the
 Google Groups "MS EXCEL AND VBA MACROS" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to excel-macros+unsubscr...@googlegroups.com.
 
 To post to this group, send email to excel-macros@googlegroups.com.
 
 Visit this group at https://groups.google.com/group/excel-macros.
 
 For more options, visit https://groups.google.com/d/optout.

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

Reply via email to