PDA

View Full Version : Code to disable right click toolbar



Smiffy3594
07-12-2012, 06:08 AM
Hi

New to the forum and wondered if someone could help, I am creating a word template in 2010 and want to ensure that people are unable to change the font type, I have been able to remove the font option from the top ribbon and can also do format restrictions to stop this.

But I need to allow people to be able to format a default table style that I've set within the word document and when I format restriction it doesnt allow people to remove borders, change background colours on the table.

Can anyone help as been googling and it seems that changes to the right click toolbar can onlly be done via vba but have not found one to disable the right click toolbar in the template.

As I said am new to this so if someone has the take me through the VBA input process and the code would really really appreciate it.

Thanks

Smiffy

macropod
07-13-2012, 12:22 AM
Hi Smiffy,

It would probably be simpler and more reliable if you were to define a Table Style or a Quick Part with a table with the attributes you want.