Popup when mouse hovers over button in excel 2010 - excel

I have many buttons on a worksheet ( can't remember if they are activeX or not). I'd like to add a few lines describing what each button does when the cursor is hovering over the button. Is this even possible?

Related

VBA Excel Activex Frame control containing option buttons, the buttons disappear when I leave Design Mode

I am developing a quotation process with VBA in an Excel Worksheet. I placed an ActiveX Frame control with 2 option buttons inside.
As soon as I leave Design Mode, the buttons disappear. I have made sure the buttons are visible, have the correct width and height and I know they are there because I can access them pragmatically.
The problem is, I guess, with the Frame control that probably has a bug.
Any advice will be greatly appreciated.
Cheers, EOutlook
To add an option button to your frame, right-click the frame and choose "Frame object >> Edit" - add the option button from the toolbox which pops up, not from the Developer ribbon.

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.

Excel Userform Textbox Drag or Drag away

If I enable the Drag and Drop behaviour for a textbox on an Excel userform, I can trigger an event simply by hovering the mouse over the texbox. If I then move the mouse away without dropping the item onto the texbox, I want the event to be cancelled. Is there any way I can do this?
Simple example: I hover the mouse over the textbox, a checkbox is ticked. I move the mouse away without dropping and the checkbox is un-ticked.
By validating the DragState of the mouse I was able to do this:
If DragState = fmDragStateLeave Then

Button in excel not being clicked

When I click on 'Calendar' or 'Generate Report' button. It doesn't do anything. what could be the problem. Please help me out. thank you.
Ok... Assuming you've enabled macros on your workbook correctly etc...
The Button.
There are 2 types of button. A form and a Active-x.
If this is a Forms type button - right click and assign the macro. Have your macro in a modules and not in a worksheet class.
The Button.
If this is an active-x button, on the Developer tab press the Design Mode icon, which funny enough, will put it in Design Mode :)
Double click the button, this will generate an event handler in the worksheet class.
The Calendar Control.
This is also an active-x so I would follow the steps for the active-x button. Enter design mode and double click. I think this will create a Click event handler where you can trap the event.
Hope that helps...
Either no macro is being assigned to your buttons or you are in design mode.
Right click on button and click on Assign Macro's and check if any macro is assigned
Go to Developer tab and check if you are in Design Mode

Userform Multipage disabling tab click

I have a userform with multipage tabs, within each tab there is a "next" command button that allows you to move onto the next tab if there are no errors (if there is an error, it prompts the user and sets the focus to the error on that tab). When the userform is open, I can click the tabs to jump around without completing anything which defeats the purpose of my error handling.
Is there a way to disable tab selection? Or add a sub to the tab itself?
Thanks
Change the Style property of the Multipage to fmTabStyleNone (2).

Resources