Thread
: [Solved]
Help needed to export word document to a pdf and name the pdf a title from the document
View Single Post
04-06-2022, 03:37 PM
macropod
Windows 10
Office 2016
Administrator
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
Alternatively:
fName = Split(ActiveDocument.Paragraphs(8).Range.Text, vbCr)(0)
Done that way, it doesn't matter whether the range is in a table.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
macropod
View Public Profile
Find all posts by macropod