do you have loadimage on the ribbon
Code:<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="OnRibbonLoad" loadImage="LoadImages">
1. yes, the Ribbon is in the Access' options
2. How can I open this form with no AutoExec macro?
2. Set the startup form in Access options!
Why do I need to load an image ?as it connotes it Loads the Image of the ribbon.
loadImage = "fnAutoExec">
Not working for me
will not load the ribbon if there is a MsgBox in code
Attached is a quick and simple example using your ribbon and the approach I suggested way back in post #15. I assume you didn't actually try that method!
I've used a new startup form frmStart with a timer event that triggers a message after 1 second.
I've renamed your autoexec macro to disable it.
I recommend you either run all your checks from the startup form or use an autoexec just for code which doesn't require user interaction. If you do decide to use autoexec, a submacro isn't necessary
The attached works. The modified ribbon appears before the form loads then the message shortly after. It can be improved further but hopefully you get the point
I did try your suggestion.
Now I see you put the code into the Form_Timer() event and not into the OnLoad() event
This seems to work very well
Thanks a lot
Without the BE file it doesn't load properly....without hidden form it works for me.
without hidden form it works for me.
Without the BE file it doesn't load properly....
To me it does seem a bit like using a sledgehammer to crack a nut
Ooops, Sorry, it was addressed to youSmig
You've quoted me but I was referring to arnel's uploaded file.
Which of us is this addressed to?
Posts crossed. Added extra info / example