![]() |
Changing Worksheetname
I use D1 to track the worksheetname.
D1 =MID(CELL(""filename"",Sheetname!A1),FIND(""]"",CELL(""filename"",Sheetname!A1))+1,255) Is it possible to have it in reverse? i.e. to change the name of the worksheet to what is in cell (D1) Thanks |
daniel, without any error checking just use this, ActiveSheet.Name = [D1]
-- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 "daniel chen" wrote in message ... I use D1 to track the worksheetname. D1 =MID(CELL(""filename"",Sheetname!A1),FIND(""]"",CELL(""filename"",Sheetname! A1))+1,255) Is it possible to have it in reverse? i.e. to change the name of the worksheet to what is in cell (D1) Thanks |
Hi Paul,
You've answered it. Thank a lot. "Paul B" wrote in message ... daniel, without any error checking just use this, ActiveSheet.Name = [D1] -- Paul B Always backup your data before trying something new Please post any response to the newsgroups so others can benefit from it Feedback on answers is always appreciated! Using Excel 2002 & 2003 "daniel chen" wrote in message ... I use D1 to track the worksheetname. D1 =MID(CELL(""filename"",Sheetname!A1),FIND(""]"",CELL(""filename"",Sheetname! A1))+1,255) Is it possible to have it in reverse? i.e. to change the name of the worksheet to what is in cell (D1) Thanks |
All times are GMT +1. The time now is 11:29 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com