MS ACcess - hiding export ribbon buttons

I have an Access Report which background VBA code displays for the users in Print View (only).   Users do not see the left hand navigation bar - everything is managed for them via forms/buttons, etc.
I need to restrict them from exporting the report data to excel in the print preview of the report.
I don't mind they can export to word or PDF - but a solution involves hiding those as well, that's ok.
users need to see the ribbon on forms to sort records, filter, etc.

I guess I could hide the ribbon entirely on that print view using report_load (to hide the ribbon) and report_close ( to restore the ribbon)
any thoughts on this  is there a way to hide the export to excel button (and  perhaps others?0
Environment Access 2016 , Windows 7/10
LVL 4
Keyboard CowboyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Fabrice LambertFabrice LambertCommented:
Hi,

You need to provide a custom ribbon.

There are Tools available on the internet to help you with this task, such as Ribbon Creator, or Ribbon Wizard available here: https://arkham46.developpez.com/articles/office/assistant-ruban/
(Site is in french, but the application support English language).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.