Excel Listbox in a Sheet with FreezePanes - excel

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.

Related

Unable to scroll in one particular sheet only

One of the sheets in my workbook has been imported from another workbook. On this particular sheet, scrolling (with my mouse wheel) is somehow disabled. I can scroll just fine on all the other sheets.
Here are a few things I tried:
I went to the sheet properties, because I assumed there was something in the ScrollArea property that was causing this. But the ScrollArea property is blank.
There aren't any macros affecting the sheet, and in fact, the workbook is saved as an xlsx, not xlsm, so I don't think a macro is a potential culprit at all.
I went to "view" to see if this was due to a frozen pane, but there are no frozen panes.
I'm sure there's a simple explanation, but I'm stumped. Does anyone have any ideas about how this could be possible?
Thanks in advance for any help!

Excel Active-X button cannot be clicked

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.

activeX combo boxes

I have a complex workbook that has a number of ActiveX Combo boxes which I choose over form controls for their customization options. Inexplicably, ALL of the boxes stopped working this morning. Literally, one minute they worked and then stopped completely. I was not working on that sheet, but rather a different one. There is no code attached to the combo boxes. When in design mode, the properties box doesn't even come up. Developer>Properties opens the worksheet properties only. This problem is not associated with the workbook because older versions of the same sheet are acting the same way. However, the compiled version of the workbook works fine. This suggests corruption in Excel somehow, so I repaired Excel (Office 365). No difference.
I deleted the combo box and replaced it and it is ok now, but that's not good enough for me. I have many others to remove and replace, but why do I need to do this? There are 180 other boxes that this happened to in the past and I simply used Data Validation for because I could not have this happen. I distribute this workbook in a compiled version only, so if I was certain that this bizarre occurrence could not happened once its compiled, I will replace all of the boxes that don't work and replace all of the data validation boxes with activeX, and compile it immediately. But I like things to make sense. What the heck is going on?
An ActiveX combo box has it's code on the sheet module for the sheet it is in. So, it's not odd that looking for the properties of the combo box that the sheet module would pop up. When in design mode and you right click on the combo box a pop up menu should come up that allows you to click and see the box's code on the sheet module. Are you saying that all the code for the boxes vanished or you had never written it? How do they get populated? I apologize for commenting in the answer section but I don't have enough points yet to write in the comment section.
The fact that no one has answered this suggests that this is behavior that I am causing. My belief at this point is that there is code running in the background which suspends other activity. I have a pop up calendar that ends with a range selection. I believe that this is looping somehow.
I am going to replace the data validation boxes with more combo boxes throughout the sheet with the calendar code in mind.

Excel Middle mouse button click not scrolling

I have a workbook that will not let me glide around by clicking and holding the middle mouse button.
I've seen a lot of answers and help around basic scrolling with the mouse, but that's working fine in this case. It's when I hold down the button, nothing happens. It works on other spreadsheets I have open at the same time so the problem must be specifically with that workbook.
I seem to remember having the same trouble long ago with a single sheet in a book.
Any ideas? The workbook does have a lot of VBA, but I've been unable to detect any part which would affect this. Could there be something buried in that?
aha, someone at work figured it out. It happens when you've hidden columns all the way to the end of the sheet. I've unhidden them and am gliding around easy again.

Clicking/activating ActiveX control locks excel cell

I am encountering a small difficulty with an excel file I am working on. When moving from one sheet to another, the new activated sheet is sometimes locked in that sense that I can't make keyboard inputs. This seems to be the consequence of a interacting with a combobox or a listbox.
The issue also arises when I first click on the control and then try to change the content of the unlocked cell of the protected sheet. When the sheet is unprotected, the issue does not arise.
This seems to be resolved when I add this code on the control lostfocus event
debug.print selection.locked
Do ActiveX controls interfer with sheet protection or keyboard input (I can still use the dropdowns of those cell, select them with the mouse, etc.)
Any clue of how to resolve this without adding this mysterious line?
Thanks for your help!
If you have the formula bar hidden just turn it visible. I know it sounds wierd but it worked for me.

Resources