Showing results for Microsoft Word - Scripting Blog [archived]

Jun 12, 2007
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

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 Hey, ZK. You know, it’s always tough to come back to work after being gone for a week; there’s j...

Scripting Guy!VBScriptOffice
Jun 6, 2007
Post comments count0
Post likes count0

How Can I Add a Page X of Y Footer to a Microsoft Word Document?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I saw your article on adding page numbers to the footer of a Word document. However, I need my page numbers to be in the format "Page X of Y," where X is the current page number and Y is the total number of pages. How can I do that?-- JS Hey, JS. You know, several years ago the grocery store by the Scripting House included o...

Scripting Guy!VBScriptOffice
May 23, 2007
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

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 Hey, HY. Before we tackle today’s question we know a lot of you are con...

Scripting Guy!VBScriptOffice
Mar 15, 2007
Post comments count0
Post likes count0

How Can I Replace a Specified Font in a Microsoft Word Document?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! We have a folder full of Word documents in which the author had an unfortunate tendency to use a strange font from time-to-time. How can I use a script to go in and replace just that strange font with Arial?-- Z D-F Hey, Z D-F. You know, when “desktop publishing” first came into vogue, the Scripting Guy who writes this column...

Scripting Guy!VBScriptOffice
Mar 7, 2007
Post comments count0
Post likes count0

How Can I Apply a Theme to a Microsoft Word Document?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I apply a theme to a Microsoft Word document?-- YP Hey, YP. You know, things finally seem to be getting back to normal here in the Seattle area. The weather over this past weekend was in the mid-50s, which is where it should be this time of year. (Actually it should be in the mid-80s, but ….) The University of Washing...

Scripting Guy!VBScriptOffice