HELP! Missing order buttons

Solved
mod77 Posted messages 1320 Registration date   Status Member Last intervention   -  
Mike-31 Posted messages 18405 Registration date   Status Contributor Last intervention   -
Hello,

Last night I worked on my excel file, I saved it. And this morning when I opened my file, all my command buttons are no longer displayed. I looked in the vba editor and all the command programs for the buttons are there.
But the buttons are not.

I was working in excel 2016. And this morning when I opened it, I saw "compatibility mode" next to the file name but I don't know if it was there yesterday.

After saving it in excel, I also saved it yesterday in libre office calc to see if it works.

Can someone help me get my command buttons back please? It's really important everything I did yesterday please,

Thank you

Configuration: Windows 8.1
Libre office

--
Knowing how to say NO is a duty and a strength! Don't be afraid! Unity is strength!

Please mark as resolved if it is!

8 answers

Mike-31 Posted messages 18405 Registration date   Status Contributor Last intervention   5 147
 
Re,

ah it's different if even the scrolls are hidden

open your file
then File/Options/Advanced Options/in the right list look for the section Show options for this workbook and under
For objects, Show:
check all
A+
Mike-31

I am responsible for what I say, not for what you understand...
1
mod77 Posted messages 1320 Registration date   Status Member Last intervention   53
 
That's it already. I unchecked it and checked it again anyway. :-(
0
Argitxu Posted messages 5292 Registration date   Status Contributor Last intervention   4 842
 
Hello

If I understand correctly, you must have hidden the ribbon.
In the top right corner, there is a small square icon with an upward arrow. Check it to restore the tabs and/or commands.

--
Argitxu
0
mod77 Posted messages 1320 Registration date   Status Member Last intervention   53
 
Hello Argitxu,

No, that's not it. My command buttons are the ones I created, not those from the menu bar and the icons.
Thank you anyway.
0
Argitxu Posted messages 5292 Registration date   Status Contributor Last intervention   4 842
 
OK. So these are the macro buttons
I'll pass the baton then!
Argitxu
0
Mike-31 Posted messages 18405 Registration date   Status Contributor Last intervention   5 147
 
Hello,

you note in the visual the name of your buttons then temporarily on your spreadsheet you create a temporary button for example this button would be the
CommandButton25

then in the code you copy the name of the button to display to see if it’s what you are looking for
Private Sub CommandButton25_Click()
CommandButton1.Visible = True
End Sub

then if this is the solution, depending on the number of buttons to display you can create a loop
but you would have to check in your codes if you haven’t created a line to either hide or delete your Shapes
--
A+
Mike-31

I am responsible for what I say, not for what you understand...
0
mod77 Posted messages 1320 Registration date   Status Member Last intervention   53
 
In short, I'm recreating my command buttons :-(
0
Mike-31 Posted messages 18405 Registration date   Status Contributor Last intervention   5 147
 
Re,

yes, I understood that, then you say that in the Visual you see the property of your buttons, so you take my previous post and you apply my code for a button to see if it is simply hidden or if it does not display to see if it has been deleted

--
A+
Mike-31

I am responsible for what I say, not for what you understand...
0
mod77 Posted messages 1320 Registration date   Status Member Last intervention   53
 
Ok Mike-31!

In my code, there's definitely nothing hidden. If it were hidden, they would be functional anyway, right?! But that's not the case.

Now all the control buttons have disappeared, even the scrolls I had made.
Only option boxes remain.
0
mod77 Posted messages 1320 Registration date   Status Member Last intervention   53
 
but I'll still try. Thank you.
0
Mike-31 Posted messages 18405 Registration date   Status Contributor Last intervention   5 147
 
Re,

I can no longer see, you can try to recreate another button on your sheet and be attentive to its creation number, if Excel creates a button with a number that appears in the VBA, it means that the buttons have been deleted.

--
See you,
Mike-31

I am responsible for what I say, not for what you understand...
0
mod77 Posted messages 1320 Registration date   Status Member Last intervention   53
 
Thank you.
I have another problem now.
Excel won't open my file anymore. I notice that I had saved it in compatibility mode 2003. Could that be the reason? A possible virus or bug?
0
Mike-31 Posted messages 18405 Registration date   Status Contributor Last intervention   5 147
 
Hi,

for me it smells like a problem, analyze the file and possibly post it, we will see after analysis what we can do for you

--
See you
Mike-31

I am responsible for what I say, not for what you understand...
0
mod77 Posted messages 1320 Registration date   Status Member Last intervention   53
 
I just briefly looked online and it seems to really be coming from there :-(

thank you.
0
Mike-31 Posted messages 18405 Registration date   Status Contributor Last intervention   5 147
 
Hi,

try to make it available to us anyway if the file is not confidential

--
Cheers
Mike-31

I am responsible for what I say, not for what you understand...
0
mod77 Posted messages 1320 Registration date   Status Member Last intervention   53
 
I would have liked to, but I can't even anonymize it; there are 103 names.
0
mod77 Posted messages 1320 Registration date   Status Member Last intervention   53
 
Thank you all anyway. I'll redo my database, too bad!
0
Mike-31 Posted messages 18405 Registration date   Status Contributor Last intervention   5 147
 
RE,

to anonymize your file is very simple, first duplicate your file by saving it as
then put a Dupont or Duval in your first Name cell and increment it downwards.
There you go, it takes you 5 seconds at most, now it's up to you

--
A+
Mike-31

I am responsible for what I say, not for what you understand...
0