Floating panel with command buttons

Rockhopper25

New Member
Joined
Aug 7, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi everyone, can anyone tell me how I can create a floating panel that I can add command buttons on to.

I want to start off with a button that says OPTIONS then when clicked it opens a floating panel which I can have 4 command buttons to do various things when clicked then have a close tab so that it dissappears when clicked again

similar kind of thing like in this picture

FLOATING BUTTON PANEL.JPG
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Use a "Userform" in your VBA project.
Put your buttons onto it, code the buttons, then when it's ready to use, show the userform, thus:

VBA Code:
UserForm1.Show (modeless)

The modeless attribute will mean that the form can remain in view (and be moved around the page by the user) even when the other buttons' code is being run.
If you keep it as a standard userform, there will be a cross in the top right for the user to close when they wish, as normal.
 
Upvote 0
You can achieve this through the VBA screen by creating a UserForm. Use Alt + F11 to take you into the VBA screen and then use the Insert Menu and UserForm.

You will have a toolbox which will allow you to add command buttons.

Question is what are you aiming to achieve as this now means working with VBA?
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,843
Members
449,193
Latest member
MikeVol

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top