Showing results for Microsoft Word - Scripting Blog [archived]

Oct 13, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Do I Count the Number of Pages in a Group of Office Word Documents?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I am so mad right now, I could just about scream. In fact, if you don't mind, I believe I will scream. We have this stupid printer at work that I have to use to print out a very important report. This printer is rather slow when printing out these reports; it prints out about 30 pages a minute. It has a hopper that holds 1...

Scripting Guy!Windows PowerShellOffice
Oct 12, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Do I Count the Number of Words in a Group of Office Word Documents?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I have a folder that contains a number of Microsoft Word documents that are all related to a specific project. I need to know the number of words in all of those Word documents. This is because the project is billable based upon the number of words. In the past, I used Explorer to open each file to get the word count of ea...

Scripting Guy!Windows PowerShellOffice
Aug 27, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Figure Out Which Version of Microsoft Office Word Is on a Bunch of Computers?

ScriptingGuy1
ScriptingGuy1

 Hey Scripting Guy! We are currently beta testing Microsoft Office 2010. It is awesome by the way, and I need to figure out what version of Word we have installed on our computers. I know there are different versions, and I would like to get some kind of inventory before we do the upgrade. How can I determine the version of Word that is instal...

Scripting Guy!Windows PowerShellOffice
May 14, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Use Windows PowerShell to Look for and Replace a Word in a Microsoft Word Document?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! The week of April 17, 2009, you did a weeklong series of “Hey, Scripting Guy!” articles on regular expressions. I tried to change one of your scripts to open an office Word document that uses Windows PowerShell to look for a particular word. Guess what? It did not work. Instead, it filled my screen with gibberish, the speakers...

Scripting Guy!Windows PowerShellscripting techniques
May 13, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Convert to Windows PowerShell a VBScript Script That Creates a Table in Office Word?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I was looking through the Office Space Archive and came across a nice article that talks about how to create a table in Office Word. The article is interesting, but I am more interested in how to do this by using Windows PowerShell. Will I be able to translate this script to Windows PowerShell? Or do you have one already writt...

Scripting Guy!Windows PowerShellscripting techniques