I develop an excel add-in and I need to implement color picker dialog with some set of user-defined colors.
I figured out that I can create a new color theme using the dialog “Page Layout” -> “Themes” -> “Colors” -> “Customize Colors…”.
But still, I can’t find the way how can I change theme colors programmatically.
Maybe, there is no way.
Please, help me
Here is one way.
http://msdn.microsoft.com/query/dev10.query?appId=Dev10IDEF1&l=EN-US&k=k(MICROSOFT.OFFICE.TOOLS.EXCEL.WORKBOOKBASE.APPLYTHEME);k(TargetFrameworkMoniker-%22.NETFRAMEWORK%2cVERSION%3dV4.0%22);k(DevLang-VB)&rd=true