Hi
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
I have a workbook that has basic several worksheets but when I run a macro-report I am creating several dozen worksheet for each business unit. I delete these worksheets every time in order to create new statistics each time. The worksheet numbers ends up in the hundred.
<o></o>
I need to renumber the worksheet number (not the worksheet names). I know there is limit to the number of sheets of 255 but still it would be neat to renumber so that they are in ascending order. <o></o>
<o></o>
e.g.<o></o>
<o></o>
sheets1 (Tracker)<o></o>
sheets6 (Summary Report)<o></o>
sheets80 (Bus STOCK ORDER)<o></o>
sheets81 (Bus PURCHASING)<o></o>
sheets82 (Bus ACCOUNTS)<o></o>
sheets83 (Bus DEBT CONTROL)<o></o>
etc.
<o></o>
I would like them to be like :
<o></o>
sheets1 (Tracker)<o></o>
sheets2 (Summary Report)<o></o>
sheets3 (Bus STOCK ORDER)<o></o>
sheets4 (Bus PURCHASING)<o></o>
sheets5 (Bus ACCOUNTS)<o></o>
sheets6 (Bus DEBT CONTROL)<o></o>
etc.
<o></o>
Has anyone every done this. I have looked exhaustively and found many ways of reordering and renaming the worksheets(1).name etc but not the actually sheet number. I can also found sheets.index but hit a brick wall.
<o></o>
Has anyone every done this ?
<o></o>
Kind Regards Kuldip.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
I have a workbook that has basic several worksheets but when I run a macro-report I am creating several dozen worksheet for each business unit. I delete these worksheets every time in order to create new statistics each time. The worksheet numbers ends up in the hundred.
<o></o>
I need to renumber the worksheet number (not the worksheet names). I know there is limit to the number of sheets of 255 but still it would be neat to renumber so that they are in ascending order. <o></o>
<o></o>
e.g.<o></o>
<o></o>
sheets1 (Tracker)<o></o>
sheets6 (Summary Report)<o></o>
sheets80 (Bus STOCK ORDER)<o></o>
sheets81 (Bus PURCHASING)<o></o>
sheets82 (Bus ACCOUNTS)<o></o>
sheets83 (Bus DEBT CONTROL)<o></o>
etc.
<o></o>
I would like them to be like :
<o></o>
sheets1 (Tracker)<o></o>
sheets2 (Summary Report)<o></o>
sheets3 (Bus STOCK ORDER)<o></o>
sheets4 (Bus PURCHASING)<o></o>
sheets5 (Bus ACCOUNTS)<o></o>
sheets6 (Bus DEBT CONTROL)<o></o>
etc.
<o></o>
Has anyone every done this. I have looked exhaustively and found many ways of reordering and renaming the worksheets(1).name etc but not the actually sheet number. I can also found sheets.index but hit a brick wall.
<o></o>
Has anyone every done this ?
<o></o>
Kind Regards Kuldip.