Need simple instructions on printing pathname.............ts

  • Thread starter Thread starter ted75
  • Start date Start date
T

ted75

I'm NOT a skilled Excel user so other posts here on same subject aren't
detailed enough to help me. I run Excel 2002 , NOT system 7

I want to auto enter my workbook's complete pathname into a cell.


Thanks much, ted
 
'Path
=LEFT(CELL("filename"),FIND("[",CELL("filename"))-1)

'Filename
=MID(CELL("filename"),FIND("[",CELL("filename"))+1,FIND("]",CELL("filename"))-FIND("[",CELL("filename"))-1)

If this post helps click Yes
 
Thanks, I was able to have my pathname displayed OK.

Gary''s Student said:
Just the path:
=LEFT(CELL("filename",A1),FIND("[",CELL("filename",A1),1)-1)
--
Gary''s Student - gsnu200856


ted75 said:
I'm NOT a skilled Excel user so other posts here on same subject aren't
detailed enough to help me. I run Excel 2002 , NOT system 7

I want to auto enter my workbook's complete pathname into a cell.


Thanks much, ted
 
My first pass at your code didn't work so I need to return and work on
details a bit more.
I do not have ANY skills at creating program code to do such tasks so am a
little slow.
Thanks for your help

Jacob Skaria said:
'Path
=LEFT(CELL("filename"),FIND("[",CELL("filename"))-1)

'Filename
=MID(CELL("filename"),FIND("[",CELL("filename"))+1,FIND("]",CELL("filename"))-FIND("[",CELL("filename"))-1)

If this post helps click Yes
---------------
Jacob Skaria


ted75 said:
I'm NOT a skilled Excel user so other posts here on same subject aren't
detailed enough to help me. I run Excel 2002 , NOT system 7

I want to auto enter my workbook's complete pathname into a cell.


Thanks much, ted
 
Thanks Jacob, I did manage to make your scripts work for me.

Jacob Skaria said:
'Path
=LEFT(CELL("filename"),FIND("[",CELL("filename"))-1)

'Filename
=MID(CELL("filename"),FIND("[",CELL("filename"))+1,FIND("]",CELL("filename"))-FIND("[",CELL("filename"))-1)

If this post helps click Yes
---------------
Jacob Skaria


ted75 said:
I'm NOT a skilled Excel user so other posts here on same subject aren't
detailed enough to help me. I run Excel 2002 , NOT system 7

I want to auto enter my workbook's complete pathname into a cell.


Thanks much, ted
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top