ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Store custom doc properties Temporarily ? (https://www.excelbanter.com/excel-programming/431943-store-custom-doc-properties-temporarily.html)

prams

Store custom doc properties Temporarily ?
 
Hi,

I want to add a custom document property temporarliy. I mean I want to
add it only for an instance of workbook. The custom document property
should get destroyed when the instance of the workbook is closed.
Please let me know on this.


I know I can avoid the warning message Box by doing this.
bSavedPropVal = currExl.Saved
currExl.CustomDocumentPropeties("custom").Value = 1
currExl.Saved = bSavedPropVal


Rgds/Pramoda Jois


All times are GMT +1. The time now is 10:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com