Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Hello All
I have a drive with numerous folders. I want to count the total character length of each path to the document. Y:/drivename/folder/subfolder/document_name.doc (= 47 characters) Is there a function in windows that will allow a count of all the paths? Thanks to all who respond. H |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Each path? There should only be one path to the current document and you can
count its length with a macro Dim strPath As String Dim iLength As Integer strPath = ActiveDocument.FullName iLength = Len(strPath) MsgBox iLength http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Hardip wrote: Hello All I have a drive with numerous folders. I want to count the total character length of each path to the document. Y:/drivename/folder/subfolder/document_name.doc (= 47 characters) Is there a function in windows that will allow a count of all the paths? Thanks to all who respond. H |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help topic? | New Users | |||
cannot open a word file. file name or path is invalid | Microsoft Word Help | |||
.doc file length double-sized under Office 2003! | Microsoft Word Help | |||
How to remove a path to load a file I've moved under the File menu | New Users | |||
Length of file name | Microsoft Word Help |