Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to rename the active sheet with 1st character of firstnam
and 1st character of lastname. E.g. in cell K2, I have the staff name John A. Doe. I want the curren active sheet to be rename to JD (i.e. the 1st character of first an last name respectively. Tried doing this but it didn't work: ActiveSheet.Name=CONCATENATE(LEFT(LEFT(K2,FIND( ",K2)-1),1),LEFT(RIGHT(K2,LEN(K2)-FIND("*",SUBSTITUTE(K2, ","*",LEN(K2)-LEN(SUBSTITUTE(K2," ",""))))),1)) Always have error in the "FIND" function. Thanks in advance for you hel -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i rename a sheet if the rename tab is inactive? | Excel Worksheet Functions | |||
macro to: Add new sheet, then rename new sheet with todays date | Excel Worksheet Functions | |||
Move data to new sheet - rename sheet based on criteria ? | Excel Discussion (Misc queries) | |||
Rename Sheet | Excel Discussion (Misc queries) | |||
how do I rename a sheet | New Users to Excel |