I am seeing buttons disappear throughout Office programs - does anyone know why this may be happening? The first screenshot below is the VBE window when it first opens - if I drag a toolbar to a new location, all of its icons appear, but as soon as the mouse hovers over a button, the image disappears (though the button can still be clicked).
Other times when I open the VBE window, though, all of the buttons display correctly and do not disappear when the mouse cursor moves over them (not sure why this happens sometimes).
The other place I have noticed buttons disappearing is in the popup dialogs that appear when you copy/paste, for example. The buttons and drop-down choices exhibit the same behavior - some images are gone from the start (i.e. the initial pop-up button) and some disappear when the mouse moves over them (the dropdown choice buttons).
I also have this problem quite frequently. My research turned up things like "print = true in the properties" (which I usually don't want), "take focus on click", etc. etc. The only thing I've found that works 100% for me (whether right, wrong or indifferent) is to do the following with each button.
Private Sub CommandButton10_Click()
'__SEARCH FOR SOMETHING BY NAME__
With Me.CommandButton10
.Left = 860.5
.Top = 47.25
.Width = 50.25
.Height = 25.5
End With
'The rest of your code goes here..
End Sub
I know it's a pain to do it this way, and every time you click a button it
resets itself to the position, but I haven't lost a button since I started doing this. Now I do every button I use like this. I too would accept a "proper" fix if someone could come up with one. Hope this helps a little.
I am using an excel 2003 file but running it in excel 2007. I have an issue where suddenly ALL the macro buttons (about 25) disappeared on one of the tabs in my spreadsheet. Macros in the other tabs are not affected. The macros disappear only from the one tab. After several years of having to restore from a master file and update the data, I tried moving the macros (and changing the size slightly) that were on line 1 of the sheet (there are also macros further down the sheet and in different rows) so that they no longer touched the bottom of line 1 and have not had an issue now for 2 weeks. (The issue was happening every day the file was used). I think I suddenly stumbled upon a cure, but time will tell.
I am using excel 2003 on Windows 7. On my laptop left side USB drive G:/ needs something in the root section or all of my Buttons and checkboxes disappear. This happens to all routines written in the last 10 years.
Excel is installed on the C: drive and all files are run and saved there.
My removable drive letters got switch around and so my buttons disappeared when touched and then all of them. I manually set the drive letter of the USB drive back to G:\ and everything appeared as normal with just a few days of panic. A new USB stick in G: will also cause the problem, so whatever is in the root of the old stick I copy over to the new stick. Have not figured out what excel is looking for on the G: drive that causes the images to not show up. I have been to this forum hoping to find an answer over the years so hope this works for someone else.
Related
Its very strange that the small sheet navigation buttons (those look like small arrows) in the lower left of windows, either remain fully grayed/unavailable (when workbook is of 2-3 sheets only), or let me navigate only to a few limited sheets (when its more than 3-4 sheets).
Scroll lock is also off.
I'm on windows 11 and am using licensed version of MS Office 2021. Though I am using Asap Utilities add on, but I've also experimented by turning the same off (i.e. no addons).
Can anybody pls help as to what's going on (google didn't help).
All credit of this answer goes to the comment (answer) written by #prema
copy paste:
"It is greyed out when you see all tabs and no more are hidden on the left or right."
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.
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.
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.
A few days ago the macro buttons on spreadsheets we created stopped working.
It acted like the buttons weren't even there.
After I searched for and deleted all *.exd files, the buttons once again worked for me.
All other users, though, can't start the macro after I save the file.
Simply - if there's a spreadsheet they're using, it works fine.
Once I open and save on exit, the buttons no longer work for anyone else.
They depress, but won't run the macro.
One thing I did notice on the sheet we use the most:
There are 2 buttons, CommandButton1 and CommandButton2.
If another user clicks on button 1 for instance, and I open the code, a new line is created called CommandButton3 (and 4).
I've tried renaming buttons, etc. but this behavior continues and seems to skirt any of my feeble attempts.
Please help and thank you!