![]() |
|
#1
|
|||
|
|||
|
I'm totally ignorant to this stuff so please forgive me in advance.
I made a quick form that uses bookmarks to copy the data to the various pages. However, I've run into a few hiccups doing so with the font color and font type. What could I add to this command that will change the font to Arial and the font color to black? I'd like it to the the whole body and headers/footers if possible. Current bookmark removing VBA found on another website: Code:
Sub removebookmarks() Dim bkm As Bookmark For Each bkm In ActiveDocument.Bookmarks bkm.Delete Next bkm End Sub Code:
Sub removebookmarks() Dim bkm As Bookmark For Each bkm In ActiveDocument.Bookmarks bkm.Delete Next bkm End Sub ActiveDocument.Font.ColorIndex = wdBlack With ActiveDocument.Font .Name = "Arial" End With |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
newb - search and replace - WILDCARDS - keep original...?
|
Bansaw | Word | 4 | 09-01-2016 11:16 AM |
| Backing up importing & exporting ?? I am a newb | Jazz | OneNote | 0 | 01-27-2016 10:18 PM |
newb - need help automating catalogue production
|
Deeper | Office | 2 | 09-09-2015 01:45 AM |
Is there a solution to change the recentfilelist programmatically
|
dherr | Excel Programming | 13 | 12-02-2014 08:31 AM |
| NEWB to Macros - formatting exports | EC37 | Excel Programming | 52 | 06-25-2014 06:26 AM |