excel minimize, restore button action vba - excel

I have an excel document and I am trying to use it for visualization. I have a VBA to hide, sheet tab, formula bar, tool bar, menu bar. it works when I open the document freshly. When I minimize or restore the document, the menu and toolbars show up automatically. I would like to keep them hidden all the time.

Related

Creating an Excel Workbook with a Custom Ribbon

i use this guide to creating an Excel Workbook with a Custom Ribbon:
https://bettersolutions.com/vba/ribbon/document-level-customui-editor.htm
There is a way to display the button that i create outside the tools bar?
i need to display the button on the center of the table in every excel file that will open.

After Showing Form, Select/Activate Excel Window

I created a TreeView on a Form that accompanies an excel worksheet.
When the TreeViewForm.show is executed, the TreeView Form is selected. I then need to manually click on the excel window to allow scrolling through the worksheet. I need to eliminate this manual click by activating the Excel Window.
I've tried a few things
TreeViewForm.Show
AppActivate ("Excel")
Windows("TreeView.xlsm").Activate
Worksheets(SheetSelected).Activate
ActiveSheet.Cells(Target.row, Target.Column).Select
I can select cells in the worksheet; however, the Excel window isn't on-top, or highlighted. The TreeViewForm is. Thanks for your help!

Add a new button under "Home" Tab in excel

I am trying to add a new button under Fill color in Home tab in excel
I have tried adding my button by going to File > Option > Customize Ribbon but the options are disabled
I want to add my button in "Home" tab
Here is an interesting way of customizing the ribbon in excel (still works in Excel 2016) :
https://www.rondebruin.nl/win/s2/win001.htm
In brief, with the help of CustomUI you will modify part of the file archive in the way that you can remove actual tabs, add your own tab, and custom buttons inside of it
You asked for adding a button in the "Home" tab, a workaround would be recreating "Home" tab in a personnal ribbon tab and adding your own button to it. Your personnal button could trigger a macro sub (VBA) or even use native Excel functionalities.
(I can help you further if you choose this way)

Add Macro to Excel Ribbon in Add-In

I made an excel macro that retrieves data from other workbooks. I need to add a button to the Excel Ribbon for this Macro. The kicker: I need this button to go into a tab called "Special". This tab was part of an add-in and currently only contains one button. This "Special" Tab cannot be found in the customize ribbon area in the options tab.
Also, would it be better to turn my one macro into an add-in or should I just add the one macro to the ribbon.
Thank you all very much in advanced.

Expand/Open Excel Ribbon menu with VBA

I have a custom tab in Excel (2013). On the tab, there is a menu that has multiple toggle buttons. It would be beneficial from a user standpoint that the menu would stay open until they are done with all their selections.
So I am looking for a way to keep the menu expanded after clicking any of the toggle buttons and the only way to close the menu is to click away from the menu. One thought that I had/looking for, is there any way through vba to expand a menu in the ribbon. So I would include that at the end of the sub-routine for each toggle button.

Resources