![]() |
#2
|
||||
|
||||
![]()
The first one fails because you can't link to content without telling it which content. Change that to False. It may also fail if the CustomDocumentProperty already exists so you should probably be testing that before adding.
The second one will fail because you told it the value would be a number but you provided a string. You will also find the date format won't work because you provided a string rather than a valid date. For that one, try Value:=#1/1/2000#
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
kschmidt | Word VBA | 7 | 02-04-2019 03:09 PM |
Add custom doc properties in "Doc properties control" | eazysnatch | Word | 2 | 09-13-2017 08:08 PM |
![]() |
thedr9wningman | Word VBA | 3 | 01-20-2014 05:56 PM |
Custom Properties | b-baker | Word | 1 | 03-01-2012 01:15 AM |
![]() |
NicBodkin | Word | 8 | 05-05-2011 09:09 AM |