Good find, Andrew!
Warm Regards,
Crystal
Code Documenter for Access -- New Reports! Coming: run for Excel too
http://www.accessmvp.com/strive4peace/CodeDocumenter.htm#Download
http://www.accessmvp.com/strive4peace/CodeDocumenter.htm#Download
*
(: have an awesome day :)
*
On Thursday, August 28, 2014 12:11 PM, "yahoo@craven.de [MS_Access_Professionals]" <MS_Access_Professionals@yahoogroups.com> wrote:
The Quick n' dirty way of getting the Ribbon height is (I have to admit, I had to pick my jaw off of the floor after i found this...)
Application.CommandBars(" Ribbon").Controls(1).height
Yes, "Good old" Commandbars. If the Ribbon is the normal height it returns something over 100 and if it's minimized it's under 100. The actual numbers will depend on Access Version etc.
__._,_.___
Posted by: Crystal <strive4peace2008@yahoo.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (44) |
.
__,_._,___
Tidak ada komentar:
Posting Komentar