Scripting Blog [archived]

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

How Can I Create a Table and Fill the First Column With a Range of Dates?

(image) Hey, Scripting Guy! How can I create a table and automatically fill the first column in that table with a range of dates?-- DG(image) (image) (image) Hey, DG. You know, back in the old days we would have been a bit nervous about answering this question. Why? Well, it seems like Word should have a built-in command for doing ...

How Can I Rename a Word Document Using the First Three Characters in That Document?

(image) Hey, Scripting Guy! How can I open a Word document, read the first three characters, and then rename the file using those three characters?-- DG(image) (image) (image) Hey, DG. To tell you the truth, we always get a chuckle any time we get a question that asks for our help in renaming files or folders. Why? Well, the Scripting Guy ...

How Can I Search for and Highlight Words in a Microsoft Word Document?

(image) Hey, Scripting Guy! How can I search a Word document for any of 305 different words and highlight these words if they are found?-- SB (image) (image) (image) Hey, SB. This might be hard for you to believe, but the rest of the technical writing community doesn’t exactly hold the Scripting Guys in awe. However, most of our fellow...

How Can I Boldface a Specific Word Throughout a Microsoft Word Document?

(image) Hey, Scripting Guy! How can I boldface a specific word throughout a Microsoft Word document?-- SB(image) (image) (image) Hey, SB. You’ll probably find this hard to believe, but when you work with scripts and scripting all day you tend to get a little jaded. You say you have a script that automatically backs up and clears all the ...