How to cut/paste a value multiple times AND increment it?



  • Working with an xml file that has this line in a tag…

    num_dtl=“1”

    I need a way to not only replicate the full tag this line is a part of but also increment the value associated with this as well, I.e. num_dtl=“2”, num_dtl=“3”, and so on. I know I can use a macro to cut/paste the full tag X number of times, but how or can I increment this value as well??


Log in to reply