Thanks I'll give it a try tonight.

On Tue, 30 Mar 1999, Fawcett, Mitch wrote:

> I used the following MS Word 97 macro to create a single document out of all
> the html files that I think you are referring to. The gcc docs I found on
> the web consisted of about 235 files named "gcc_nnn.html", where nnn was a
> number between 1 and 233.  Assuming you have the same files as I do, this
> Word macro should build a single file for you.
> 
> I have a Pentium 166, NT 4.0 pc.  It took about 15 minutes to finish.  The
> resulting file was about 2MB. You'll probably still see underlined blue
> hyperlinks in the final document, but they won't point to anything.  Can't
> have everything.
> 
> If anybody wants to give it a home I'll be glad to upload my copy of the
> combined document.
> 
> Mitch 
> 
> Sub Macro2()
> '
> ' Macro2 Macro - Microsoft Word 97
> ' Macro recorded 03/30/99 by Mitch Fawcett
> ' No warranties on the following code.  Use at your own risk.  
> 
>     spath = InputBox$("Enter the path to the html docs (omit trailing \")
> 
>     Documents.Add
>     Selection.InsertFile FileName:=spath & "\gcc_toc.html", Range:="", _
>         ConfirmConversions:=False, Link:=False, Attachment:=False
>         
>     For j = 1 To 233
>         sFileName = "gcc_" & Trim(Str(j)) & ".html"
>     Selection.InsertFile FileName:=sFileName, Range:="", ConfirmConversions
> _
>         :=False, Link:=False, Attachment:=False
>        
>     Next j
> 
> End Sub
> 
> 
> 
> > -----Original Message-----
> > From:       Michael S. Davis [SMTP:[EMAIL PROTECTED]]
> > Sent:       Tuesday, March 30, 1999 1:55 PM
> > To: [EMAIL PROTECTED]
> > Subject:    GCC Documentation - Where in DOC/PDF format?
> > 
> > 
> > Does anyone know if GCC Documentation is available 
> > anywhere in Doc or PDF format.  HTML is not formatted
> > very nice when when there are many, many small pages.
> > It is not easy to print out back to back pages.
> > 
> > ----------------------------------------------------
> > Shoot-to-Win
> > 
> > Protect the 2nd Amendment
> > ----------------------------------------------------
> > 
> 
> 

----------------------------------------------------
Shoot-to-Win

Protect the 2nd Amendment
----------------------------------------------------

Reply via email to