1 Reply Latest reply: Mar 4, 2014 4:42 PM by Massimo Grossi RSS

    Establish closing month in script

    Annika Palm



      I'm going crazy not understanding what's wrong with my script so i need you guys, In my script i have the following statement:


      if($(vCurrentDay)>=$(vCloseDate), $(vMonthToday), $(vPreviousMonth)) as ClosedMonth


      Where the variables are as follows:

      vCurrentDay = 4

      vCloseDate = 8

      vMonthToday = Mar 2014

      vPreviousMonth = Feb 2014


      The statment is in my calendar load. And when i run the script i get the error " ')' expected".

      What am i missing? i have several if statements in the same load that works just fine.