Susan Harkins
ssharkins at gmail.com
Wed Apr 1 11:38:26 CDT 2009
I can't recall ever using DoCmd in anything but Access -- and as part of the Access object model, it would makes sense that it isn't available to other applications, but thought I'd try. I've spent a little time in both Excel and Word's VBA Help and can't find anything helpful on hiding the ribbon -- even the Object Browser turns up nothing. Well, it turns up stuff, just nothing I could use. Surely you can hide the ribbon programmatically in Word and Excel? Susan H. > Hi Susan, > I don't know the answer but if you set a Reference to Microsoft Access 12 > Object Library then it will probably compile ok. > > Whether it works or not is another matter > > hth