Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-07-2017, 12:41 PM
macropod's Avatar
macropod macropod is online now Extract Document Property and insert it into the same document, for many files in a folder Windows 7 64bit Extract Document Property and insert it into the same document, for many files in a folder Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

That's as simple as:
Code:
  With wdDoc
    .Range.InsertBefore .BuiltInDocumentProperties("Title") & vbCr
    .Close SaveChanges:=True
  End With
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
document, extract, property



Similar Threads
Thread Thread Starter Forum Replies Last Post
From a docx report document save all images in a cell from the document to a folder censura Word VBA 1 05-13-2017 12:54 AM
Vba code to save document as pdf using document property text and rename folder. staicumihai Word VBA 1 12-21-2015 07:39 AM
Document Property Question ksigcajun Word VBA 9 10-14-2014 11:26 AM
Extract Document Property and insert it into the same document, for many files in a folder Insert image based on document custom property anandyrh Word 1 08-14-2013 12:08 AM
Remove title property from all files in a folder konopca Word VBA 2 12-04-2012 10:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:06 PM.


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