I am using above code but am getting object required error and I am trying here to create dynamic border based on the data changes in source file