I have multiple sheets that need to renamed up the first space in the current name. For example, for a worksheet named: 'abc text more text', I want to keep 'abc'. I have to do this for multiple sheets and the number of characters before the space varies. I was able to use vba to pull the left most characters:
but I can't see how to modify this to stop at space, similar to how this is done in this formula: =LEFT(A1,(FIND(" ",A1,1)-1))![]()
Please Login or Register to view this content.
any thoughts? I'm sure it's a simple fix!
Bookmarks