This example shows you how to add from VB a custom property to Excel file ( you can do the same with most MS Office application ). With this code I can write the custom property to the file but after that I got an Error , so if you can help me with that it will be great.