How to make a VBA code in Excel to copy and paste only certain values in a cell -


i have project deals thousands of file names in excel.

s:\workgroups\apc environmental affairs\water\`new file structure\plants\hydro\henry\spcc\correspondence\henry spcc new revision.msg 

the complete file location listed in cells. need copy on true file name "henry spcc new revision" new cell over

s:\workgroups\apc environmental affairs\water\`new file structure\plants\hydro\henry\spcc\correspondence\henry spcc plans.msg 

for 1 copy on "henry spcc plans". basically i'm copying on text between last \ , .file extension.

is there macro or special paste function can use me this?

as part of tigeravatar's answer, can use:

=mid(a1,find("@",substitute(a1,"\","@",len(a1)-len(substitute(a1,"\",""))))+1,len(a1)) 

Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -