Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 05-18-2014, 10:49 AM
Hdata Hdata is offline Add text to DocProperty with VBA? Windows 7 32bit Add text to DocProperty with VBA? Office 2010 32bit
Novice
Add text to DocProperty with VBA?
 
Join Date: Jan 2014
Posts: 26
Hdata is on a distinguished road
Default

I first posted my question above regarding Document Properties, and you correctly indicated how to add that I would get an error if the Custom Document Property did not exist.

OK, what about DocVariable field. Can I add a DOCVariable field to a document programmatically with VBA if the field does not previously exist? Using the ActiveDocument.Fields.Add Range:=Selection.Range?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add text to DocProperty with VBA? Change in font size of docproperty Sandy27 Word 9 01-03-2014 01:51 PM
Add text to DocProperty with VBA? Trying to Reference a ContentControl Using DocProperty SuzeG Word VBA 4 12-17-2013 03:40 PM
Using DocProperty Field Codes multiple times in the same document trueimage Word 2 09-18-2013 04:44 PM
Field DOCPROPERTY LastSavedTime format problem ragesz Word 4 10-29-2012 06:58 AM
My plain text post got converted to rich text in a reply, how to convert it back? david.karr Outlook 0 01-05-2012 09:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:30 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