Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Put the File Name in the Footer of a Microsoft Word Document?

(image) Hey, Scripting Guy! I’ve seen Word documents where the file name appears in the footer. Except that this file name is dynamic: if the name of the document changes then the footer changes, too. How can I add that kind of a footer using a script?-- ZK (image) (image) (image) Hey, ZK. You know, it’s always tough to come back to ...

How Can I Save Each Paragraph in a Word Document as a Database Record?

(image) Hey, Scripting Guy! A few days ago you showed us how to open a bunch of text files and save the data in each file as a record in a database. I have a similar question, except that I want to save each paragraph in a Word document as a database record. How can I do that?-- HY (image) (image) (image) Hey, HY. Before we tackle today’...