View Single Post
 
Old 04-23-2020, 07:06 AM
Ryhne Ryhne is offline Windows 10 Office 2013
Novice
 
Join Date: Apr 2020
Posts: 11
Ryhne is on a distinguished road
Default Macro to list font and its size on each page

I want a code to see which font and size is used in each page so I can detect mistakes easily and fix them.

Since I'm newto the whole VBA and codes I searched the web and found the following pages.unfortunalty none of them work!

https://www.msofficeforums.com/word-...mes-sizes.html
I tried the last code and it said that the methode/feature is not available.


https://www.msofficeforums.com/word-...-document.html
here, it said something about not compiling and
Code:
Dim newDoc As Document Dim p As Long
was in red.


Then I tried

VBA macro to print all font styles used in a word document - Stack Overflow
which nothing seems to happen!


I appreciate if you could help me see what I'm missing here!
Reply With Quote