Hello sainiakash01, Your solution is almost good, it renames dynamically the sheets, but I have one page shift. The name of my first sheet is on my second sheet, and the second on my third on so on... It seems the name of the current sheet is evaluated before the evaluation of the detail band, so that's why i have a shift. I don't know how to prevent it. Thanks