Hi,
U were not getting worksheet at right place, as this code
will insert worksheet in the end.(what it do is it takes the count of present sheet. let say there are 3 sheets presently, and your coding will insert sheet after three sheet, that means it will come at fourth place.
Please see the code in blue.
Note: I have used "Sheet 1" , you can use "current revsion" or whatever your sheet name is
---------------------------
What I have done is to tell excel to display the sheet at 2nd place. I am writting
that ie it will come after sheet1(no matter whatever the name) so after sheet1 means it will be at 2nd position(as you wanted)
------
for ii issue you are facing like naming the sheet as per the value in some specific cell in sheet1.plz tell which cell value you want to use to name a sheet.
----------------------------------------------------------------------------------------
If It helped you. Click the scales icon (Reputation) in the upper right corner of the contributor's post.
Bookmarks