Dear all,
I am new to visio vba and wanted to know if there is any way to hide file tab and unhide it again based on weather if a condition is true or false..?
My basic intent is to disable 'Save as' option if some condition is not met.
Thanks
Madvesh
Which release of Visio?
wapperdude
Will it differ..? :( I use Visio 2010
Does version make a difference, possibly, V2010 marked the intro of the ribbon interface. With it came an updated object model with new commands. Might be relevant. I have V2007, so cannot directly help. Rarely, muck with UI, so even less help. Hopefully, the V2010 and newer users will check this post and contribute.
I did do a quick web search, found this for Excel. At least it an approach. Visio's object model might these commands.
http://stackoverflow.com/questions/19967283/excel-hide-show-all-tabs-on-ribbon-except-custom-tab (http://stackoverflow.com/questions/19967283/excel-hide-show-all-tabs-on-ribbon-except-custom-tab)
Wapperdude