#1
|
|||
|
|||
create macro to change font size to 12.5pt
I tried to do this but it seems Word didn't like that and changed it to 12pt. Is this not a doable function?
Alternatively, if I knew how, I would change the normal template so that every new document came with Calibri 12.5 single spaced with no spacing before or after paragraphs. Not that skilled and too impatient to study lengthy documentation... Thanks! Chuck |
#2
|
|||
|
|||
Quote:
Chuck, ignorance is curable, but there is no pill. Yes. This is something that can be done. To get 12.5 you cannot select it from the drop-down, but you can type in 12.5 and it will be the font size used. The following will do what you want but is not a good idea!
Word is a very complex program with a deceptively easy interface. For most documents it is very easy to use. If it is a tool you use, you owe it to yourself to learn how to make it do what you want. Anything else dooms you to frustration. Some suggested reading to help cure ignorance: None of these are short. The shortest are the series of tutorials by Shauna Kelly. The last two are much longer. |
#3
|
|||
|
|||
I don't know what your macro is but this macro works for me.
Code:
Sub calibrifont1() ActiveDocument.range.Font.Name = "Calibri" ActiveDocument.range.Font.Size = 12.5 lbl_Exit: Exit Sub End Sub |
#4
|
||||
|
||||
Yes, but using such a macro is a particularly poor way of trying to solve the problem as it doesn't address the underlying issue.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
Thank you, all!
Charles I followed your instructions to modify the normal style successfully. I am curious what you meant by saying I'd likely not like the result. It seems to work perfectly well. Thanks, again! Chuck |
#6
|
|||
|
|||
The normal style does not control everything in a document, it is the most central, though. For example, line spacing for the Heading styles will be different and should be.
I strongly urge you to review the short series of tutorials that starts with: You will be a lot happier working with Word if you do. Here are some other things to look at:
|
Tags |
font size, macro, normal.dot |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Looping Macro to Change Font, Font Size, and Give Heading 1 | WH7262 | Word VBA | 1 | 08-26-2014 03:46 PM |
Change in font size of docproperty | Sandy27 | Word | 9 | 01-03-2014 01:51 PM |
Unable to change font size | Andoheb | Outlook | 1 | 11-23-2012 07:24 PM |
how change size font to inches size | kkepo | Word | 4 | 08-28-2012 08:53 PM |
Change font & point size? | markg2 | Outlook | 2 | 06-09-2010 03:23 PM |