Quote:
Originally Posted by bearcublandon
How would I amend your code to have it look at the "Name of Participant" line for the name of the new PDF?
|
For that, you'd need to change:
Set Rng = .Range.Paragraphs(1).Range
to, say:
Set Rng = .Range.Paragraphs(5).Range
and change:
StrTxt = .Text
to:
StrTxt = Split(.Text,":" & vbTab)(1)
but, as I said, I'd need to see an actual document to be sure.
Quote:
Originally Posted by bearcublandon
Do you need an entire document because i could probably make one from scratch but I wouldn't be able to provide the other 34 pages in the document.
|
A single page containing everything down to at least the "Name of Participant" line in your screenshot would do.