View Single Post
 
Old 01-29-2019, 01:39 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,370
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

For PDF creation, you'd uncomment the line:
Code:
    '.SaveAs2 FileName:=Split(.Fullname, ".doc")(0) & ".pdf", FileFormat:=wdFormatPDF, AddToRecentFiles:=False
replace the line:
Code:
   Call RefreshFields(wdDoc)
with:
Code:
   .Range.Font.Size = 11
and change the line:
Code:
   .Close SaveChanges:=True
to:
Code:
   .Close SaveChanges:=False
You also don't need the RefreshFields sub.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote