View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Add value to array based on if...then output in VBA

Hi Scott
not quite sure what you're trying to do. Could you give a more specific
example (or the code you already have)?

--
Regards
Frank Kabel
Frankfurt, Germany


Scott P wrote:
How do I add a value to an array (in VBA) based upon the output of an
if...then statement? I have two arrays -- if a certain value falls
within a range in array 1, I want to add the corresponding value in
array 2 to a third array, which I will use to hold values for later
calculation.

Thanks in advance for your help.