Hi,
I want Print option to show for one Word file 'Sample1.docx" and hide for another word file "Sample2.docx". For this, I have created word Addin and added Ribbon.
I have achieved the functionality as mentioned above by changing GetCustomUI at rum time by setting value visible false/true of Print button but it is working only when if I open any one file (Sample1.docx/Sample2.docx) at the time, it does't not work if I open both file, means if "Sample1.docx" is open then close Sample1.docx before opening Sample2.docx otherwise if both are open, Print option in visible for Sample2.docx too which I don't want.
Please help! If have any alternate solutions, let know
Thanks