Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Refresh linked Custom Document Properties before save.

I am using MOSS 2007 to house a document library for Excel based finance
documents. In order to ue some of the features of MOSS 2007, I have promoted
several Custom document Properties to become columns in the document library.

After a filename has been chosen on the SharePoint library, a SharePoint
triggered dialogue box opens showing all of the Columns that require values.

At present, these values are only correctly filled out if you visit
file,properties before saving.

I've tried using the workbook_beforesave function to cycle through the
customdocumentproperties collection, dumping them into the intermediates
window for now to refresh them, however they retain the old values during the
first save, and then the correct values if you click save once more.

Other posts on this forum suggest that this is due to the fact that Custom
Properties don't get flushed until me.save or similar is fired, however I
can't do that until the Properties have been set in the SharePoint window.

I'd rather not replace the linked properties with programatically added ones
as it will increase the overhead on development considerably as we have a
large number of columns that are promoted.

Why wasn't there a refresh method included in customdocumentproperties for
linked props?

Any ideas?

Paul.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Save as mhtml loses custom document properties. Sarang Bapat Excel Programming 0 February 26th 07 08:41 AM
Save As MHTML loses custom document properties. Sarang Bapat Excel Programming 0 February 26th 07 06:35 AM
dont see custom document properties... Dev Excel Programming 1 November 10th 06 02:42 AM
How can I using Excel custom document properties in the header? ecalvo Excel Worksheet Functions 4 November 3rd 05 09:29 PM
Accessing custom document properties Tim Haley Excel Programming 2 September 6th 03 02:34 AM


All times are GMT +1. The time now is 04:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"