Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-06-2022, 03:37 PM
macropod's Avatar
macropod macropod is offline Help needed to export word document to a pdf and name the pdf a title from the document Windows 10 Help needed to export word document to a pdf and name the pdf a title from the document Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
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

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]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed to export word document to a pdf and name the pdf a title from the document split word document based on bookmarks with each new document title of the bookmark megatronixs Word VBA 9 09-05-2020 02:29 PM
Help needed to export word document to a pdf and name the pdf a title from the document My document title now has the word (Repaired) at the end magpiedave Word 2 02-02-2019 04:28 AM
Help needed to export word document to a pdf and name the pdf a title from the document How to have the location (path) of the Word document on the title bar? Jamal NUMAN Word 24 09-06-2017 12:18 PM
Need help with my word document - black space before title safire Word 1 03-07-2017 01:46 AM
Help needed to export word document to a pdf and name the pdf a title from the document How To Center The Title On a Word Document simon teddy Word 2 11-13-2014 01:56 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:40 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft