|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Change Font
I have numerous MS Word documents in which I need to change an existing font. How can I use VB to automate? During a migration from operating systems some of the fonts were changed to MS Mincho from Times New Roman. The idea is to place all of the documents in a folder, run the VB application to make a list of the .doc files, scan through each of the .doc files for the existence of the incorrect font and change that font to the correct font. Any code samples?
|
|
#2
|
|||
|
|||
|
Create an instance of MS Word, generate a list of the word documents, open a document up, programatically select all text, change font, save, next document and so on. You will have to reference the word component and you can use a macro to learn the Word specific VB commands.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Change Font |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|