3 Replies Latest reply: Jul 19, 2013 9:39 AM by Vishwaranjan Kumar RSS

    Using Variable in For .. Next

      Ho Guys

       

      I have declared the Variable in the Back End Like Below:

       

      Let _vYear = '=Year(Max(Today()))';

       

      Now i want to use the above variable in my For Next statment :

       

      For i = 2005 to $(_vYear)

       

      -

      -

      -

       

      Next

       

       

      But it is not  working ....

       

       

      Is there any other way to achieve the above :::::