I have a button that should be clickable in excel. When I try to click it, nothing happens. I have noticed that if I click and hold the mouse in the lower right hand corner, a second button appears. This has happened in the past, and when I moved the mouse to click that button, I could click and everything would work.
But this time, when I move the mouse, the button goes away. Thus, I cannot make the program work.
Anyone know what could be going on?
UPDATE: I tried to do this with a form control button, but I get the error that the macro is too complex. I have also tried several other active-x controls and they all do the same thing - label, checkbox, dropdown list, etc... Any help with the active-x controls would be greatly appreciated.
I found a solution to the issue. It appears that if you have the excel file open on an additional monitor (I have 3 screens: main + 2 additional), the button gives this quirky behavior. However, if you are the main screen, it works just fine.
I tried this on multiple computers and it was the same on all.
Not sure why that works, but it does for me.
I found that ActiveX command buttons only worked with the first window of a given workbook. I have multiple windows of the same workbook open in the same instance of Excel. ActiveX command buttons worked only with filename.xlsb - 1. ActiveX buttons were inoperable for the workbook's other windows, e.g., filename.xlsb - 2, filename.xlsb - 3, etc. This was irrespective of which monitor had the first window.
If somebody knows how to fix this, I'm all ears. For now, I am converting all my buttons to form controls, which always work fine.
Related
In my excel document I want the button to appear no matter how far I scroll down. I don't know if there is a way to pin the button so that when I scroll down the button still appears. I dont want to scroll up all the way up to click the button. I added a photo if that makes things clearer.
I would suggest creating a custom tab on the ribbon with the macro you want to run. Unfortunately, there is not a way to pin a button in place, unless you use a userform per Tim Williams suggestion. I created a custom ribbon tab to get around this hassle.
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.
I'm new to using VB w/ excel, so please forgive my lack of technical verbiage.
I recently received a new laptop, and transfered an excel file from my old laptop with VB setup to automatically generate reports. On the new laptop, when I click on my Active X Command Buttons, a smaller duplicate button appears. For some of these buttons, I can double click and the needed action is performed if that second button is under my mouse icon. For others (see picture), this second button displays, but when I move my mouse to get to it, it disappears.
Any help in resolving this would be greatly appreciated.
Try to select one button and use 'Tab' Key to select next one
I have a workbook with several command buttons that used to retrieve data, from other sheets, hide and show worksheets and command buttons.
All of a sudden, several, but not all of the buttons wont click. If I step through the code using F8 in the VB window, if the code is to unhide and activate a sheet, the code is taking me to a different sheet.
Is this a known bug? I haven't supplied the code as I know the code works fine
Any help appreciated
Ok, So for some buttons I replaced and this worked, then I noticed in design mode if I just move the buttons to a different location on the same page, exit design mode, then remove back to where I want them to be, all is fine and they work as intended.
Very strange
I have an Listbox Multiselect ActiveX control in a Sheet with Freeze Panes. The problem is that when I try to select items the mouseover icon is the standard excel cross instead of the arrow. I know that this question was asked before, but I didn't find any answer.
Thank u in advanced for help
I tested, and I came up with a few interesting observations.
In the ribbon, go to the developer tab. Make sure that the Design
Mode is not on.
When I first froze panes on the sheet, the freeze line went through the listbox I created. This caused the behavior you are describing with the cross-hairs and being unable to select.
Then I moved the listbox. Still same problem. I tried clicking on various cells around the sheet and in the ribbon area, with no change in behavior.
When I clicked to another sheet and back again, it started working as expected. Normal pointer mouse. I could select multiple, and unselect as needed.
Based on what I've tried, it seems that making sure Design Mode is off, and clicking to another sheet and back again may fix the problem.