![]() ![]() ![]() It is a COM object, so I also need to specify that. I have to create that object as my entry point for automating Word. The place to begin is with the Word.Application object. The cool thing is that when I know how to automate adding a header, I can customize the header, such as to include the title of the article or some other information that would be helpful. For example, if I had added my script in the static header of the Word document template that I created yesterday, I could avoid having to write that script today. What am I talking about? Well, about the time I am finished with one thing, I remember that there is something else I need to do. One of the things that seems to pile on is using Windows PowerShell to automate Microsoft Word. Why can’t we have a nice snowstorm during the summer when it is over 100 degrees with 98 percent humidity? Oh well. ![]() It seems that these sorts of things always pile up-we lose the power, it is cold, there is ice and snow-it all happens at the same time. For the thousands of people who lost their power…well, that was a different story. Although the Scripting Wife and I were a bit worried that the power would go off, it turned out to be a huge non-event-at least for us. It was not really a surprise because the weather service did a good job of warning that it would happen. Microsoft Scripting Guy, Ed Wilson, is here. Summary : Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to add headers to Microsoft Word documents. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |