Naming document from selected text

P

P Ratcliff

Hiya All,

I have a book which is broken into many chapters. Each chapter is a
document headed by "Chapter ##". I want to convert each document to
filtered html, copy to a new document and save that html document
using the chapter name of the document, i.e. chapter1.html,
chapter72.html.

I cannot figure out how to
a) capture the chapter text I want
b) copy that text into a variable
c) save the html document with that name, having removed the space

I've been going around in circles until I feel like a hamster on a
wheel. I'm sure this must be easy and I'm being extremely dim but I
can't figure it out.

Thanks in advance,
P Ratcliff
 

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

Top