![]() |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]() I've not looked at Graham's code in awhile, but we worked on this together. I'm pretty sure that you will need to change your Sub to a Function in this format: Code:
Function FontChangeArial16Blue(ByRef oDoc As Word.Document) As Boolean On Error GoTo Err_Handler With oDoc.Range.Font .Size = 16 .Name = "Arial Unicode MS" .Color = wdColorBlue End With FontChangeArial16Blue = True lbl_Exit: Exit Function Err_Handler: FontChangeArial16Blue = False Resume lbl_Exit End Function |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Peter Carter | Word VBA | 27 | 12-15-2022 04:10 PM |
Help - Need Macro to Apply Blur | SSL | PowerPoint | 6 | 07-26-2015 08:59 AM |
.wda file extension added after .pdf, .docx, .xls, etc. | GaryofLG | Outlook | 1 | 06-07-2015 11:13 PM |
![]() |
ubns | Word | 1 | 08-02-2012 04:09 AM |
![]() |
Catalin.B | Excel Programming | 2 | 09-08-2011 11:37 PM |