How can I modify this script to do a dynamic range selection:
def itemSize = |HC Casual Labour Budget Input::’2′..Row|
I want to replace the ‘2’ in the first line to something that means the second item of a category Row no matter what the name of the second item is. I wish I could do something like:
def itemSize = |HC Casual Labour Budget Input::Row[FIRST+1]..Row| so that it always selects from second row to the last row of the specified Row category.
Any help please
Thank you for the response. However I did not understand your solution. I have therefore attached a model with the script I am trying to improve. Kindly modify my script so that where I quote a 2 in creating a range to delete, I do not hard-code the number.