Hello,
How can I check to see how length my file is in excel? What key do I need to press?
Also, how can I fix or shorten it so I won’t have any problem or losing the file. This has been happening lately in some of my file.
Thank you.
Hello,
How can I check to see how length my file is in excel? What key do I need to press?
Also, how can I fix or shorten it so I won’t have any problem or losing the file. This has been happening lately in some of my file.
Thank you.
If the name of the file is in A1 you can use in b1 = LEN(A1)
Notice my main language is not English.
I appreciate it, if you reply on my solution.
If you are satisfied with the solution, please mark the question solved.
You can add reputation by clicking on the star * add reputation.
Hi
I placed the code in A1 … this code "b1 = LEN(A1)"
but it does not do anything. It did not show the length of the code.
Thanks.
is the name of the file in cell A1.
If so you can extract the length of cell A1 (the name of the file) in cel B1 with the formula.
in cell B1 = LEN(A1)
I think I should say its the workbooks name.
Let say the name of the workbook is Book1.
with the formula in cell B1 the result wil be 5
is suppose the dot is not in the name of the file.
Hello
Ok U need a formula that will total the length of the file name. The file name that includes the path the leading to the other folder.
Thanks
*I need the formula
Thanks
Try
=MID(CELL("filename"),SEARCH("[",CELL("filename"))+1, SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1)
For file name and
=LEN(MID(CELL("filename"),SEARCH("[",CELL("filename"))+1, SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1))
For its length
Do i place this formula in a new worksheet in any cells?
Thanks
Yes, although the formula may not work for your version of Excel. I hope it does
Hi
I tried to put the code but get a #value result.
See attachment.
and![]()
Please Login or Register to view this content.
or![]()
Please Login or Register to view this content.
RJ1969![]()
Please Login or Register to view this content.
the full path limitation is 260 characters but for excel with links it must be less because of 31 for sheet name , extra spec symbols such as []'' and range address.
However it is not possible to loose file. The file can be not accessible but and it could be fix. Move parent folder to different on (c:\1) rename folders.
Also you can archive folders structure and then extract onle files . Some programs such as Robocopy and Total Comander also work with very long path.
Last edited by BMV; 06-15-2020 at 03:21 PM.
You can also try just
=CELL("filename")
in any cell
cell a1 paste thisCell b1 paste thisHTML Code:HTML Code:
Last edited by Sc0tt1e; 06-16-2020 at 04:30 AM.
@ maniacb, Sc0tt1e
=CELL("filename") return file path and caller sheet name. Book name will be in the square brackets also.
I see what you mean
Got it!
Thank you all !
Question:
What is exactly the maximum of length of the document? What will happen if you go over the max?
Thank you
For NTFS is not limited
For explorer and moust programm full path must be less 260 characters
but for excel 218 characters https://support.microsoft.com/en-us/...rs=en-us&ad=us
Ok... Thank you.
Question guys,
Do I need to change "filename" to the name of the workbook?
Should it be automatically change "filename" to its workbook name?
Not the worksheet name, right?
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks