Re: FW: Convert a directory of Word files to a TOC

Subject: Re: FW: Convert a directory of Word files to a TOC
From: "John Posada" <jposada99 -at- gmail -dot- com>
To: "Margaret Hassall" <margaret -dot- hassall -at- gmail -dot- com>
Date: Thu, 16 Oct 2008 22:22:49 -0400

I'd be happy to check it out.

On Thu, Oct 16, 2008 at 10:10 PM, Margaret Hassall
<margaret -dot- hassall -at- gmail -dot- com> wrote:
> A possibility ...
>
> I have a macro(s) in an Excel spreadsheet that gets a starting folder
> as input from a dialog and then writes in all the files and
> sub-folders it finds, using the Excel columns to indent to show the
> folder tree structure. (I created it to get a list of topics in a Help
> project).
>
> You can check a box to request that if it finds a Word file, then it
> adds in the first Heading 1 it finds - it displays it on the same row
> as the file name, but a few columns along. It's not in Word, but you
> can copy/paste to Word if you want. There are some columns with file
> counts that you might not want.
>
> It's a work in progress (haven't made it robust with error checking),
> and I can't get titles from HTML files yet. It's about 150Kb in size.
>
> Would this help?
>
> Margaret
>>
>>
>> -----Original Message-----
>> > [mailto:techwr-l-bounces+margaret -dot- hassall=computershare -dot- com -dot- au -at- lists -dot- tec
>> hwr-l.com] On Behalf Of John Posada
>> Sent: Friday, 17 October 2008 12:50 AM
>> To: techwr-l -at- lists -dot- techwr-l -dot- com
>> Subject: Convert a directory of Word files to a TOC
>>
>> Hi, guys...I want to do something that is over my head.
>>
>> I was given over 250mb of Word files from an outside vendor (about 50
>> files). They are named by seqential numbers (MPLS20S04L01.doc,
>> MPLS20S04L02.doc, etc, though the numbers come in different groups) .
>> What I'd like to do is programmitcally, generate a TOC type of doc
>> that contains the file name and H1 title that can be picked up from
>> inside of the document.
>>
>> That means something programmically has to start at the top of the
>> directory, write the file name ot a TOC Word doc, open the doc, write
>> the H1 to the TOC Word doc, close, go to the next file, write the
>> filename to the TOC doc, open and write the H1 title to the TOC doc,
>> etc.
>>
>> No links, just a list. Has anyone done something like this before?
>>
>> --
>> John Posada
>



--
John Posada
Senior Technical Writer
NYMetro STC President

'Half this game is ninety percent mental.'
-- Danny Ozark, Philadelphia Phillies manager
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ComponentOne Doc-To-Help gives you everything you need to author and
publish quality Help, Web, and print content. Perfect for technical
authors, developers, and policy writers. Download a FREE trial.
http://www.componentone.com/DocToHelp/

True single source, conditional content, PDF export, modular help.
Help & Manual is the most powerful authoring tool for technical
documentation. Boost your productivity! http://www.helpandmanual.com

---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/ for more resources and info.

Please move off-topic discussions to the Chat list, at:
http://lists.techwr-l.com/mailman/listinfo/techwr-l-chat


References:
Re: FW: Convert a directory of Word files to a TOC: From: Margaret Hassall

Previous by Author: Re: Honestly -- when an SME completely REWRITES your text ... GEEZ!
Next by Author: Re: Honestly -- when an SME completely REWRITES your text ... GEEZ!
Previous by Thread: Re: FW: Convert a directory of Word files to a TOC
Next by Thread: Honestly -- when an SME completely REWRITES your text ... GEEZ!


What this post helpful? Share it with friends and colleagues:


Sponsored Ads