Thread: Step -1 method
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Step -1 method

Step is optional numeric expression which denotes the amount by which counter
is incremented each time through the loop.

For intTemp = 10 to 1 Step-1
Next

will have intTemp values in the order 10,9,8,7,6,...

and Step -2 will have 10,8,6,4,2



If this post helps click Yes
---------------
Jacob Skaria


"K" wrote:

Hi all, Just for knowledge that what kind of work "Step - 1" method
do and when it is used. Pleae can any friend can explain briefly as i
wasn't able to find much information about this method.