insertBeforeMso=”TabHome”
in the XML, makes it the first ribbon and it’s open automatically on any workbook open and requires no code. I’m using 2010, haven’t tried in 2007.
Jesse
]]>I have put the Application.Wait (Now + TimeValue(“0:00:02″)) before the SendKeys, but it still doesn’t want to run as part of the Workbook_Open. So near yet so far! Still exploring what could be causing the stoppage!
]]>I can get over the function/sub thing, and I’m glad you got things working!
Re question 1, I use the CustomUI Editor. You can find a link to it here. I still wouldn’t say it’s efficient, but it’s the best tool out there that I’ve found. (That is not saying it is perfect, in fact, far from it.)
Re Question 2, you don’t. If you use startFromScratch, you basically need to rebuild the MSO tabs that you do want. Ridiculous, IMO, but the way it is. I believe I did log a bug about the getVisible on msoTabs when startFromScratch is true, so hopefully it gets addressed at some point.
]]>