Use custom image for button in Ribbon Bar Excel - vba

I have a few custom functions that I'd like to add to my custom tab and group in the ribbon bar. I'd like to use a custom image I created and took a snapshot of (.png). I've seen a few websites that explain how to do so, such as this one,this one, and this one; however, this is way over my head and I'm not even sure where to put the code to insert the file. Can anyone help me understand this better?
Any help is appreciated!

the thing that I was looking for was an XML editor. I found more specific instructions on an Excel Add-in website. Thanks anyways.

Related

How to change the appearance of a button once it has been clicked in libre impress

I have what should be a fairly straightforward question regarding libre impress. I want to make several buttons to jump around the document and I would also like these buttons to indicate that they have been clicked before.
To achieve this I used simple shapes (stars in my case) and added an interaction feature to jump to the desired location. So far so simple. In order to indicate that a button has been clicked before, I thought the easiest way would be to change transparency, colour or size of the shapes. Really any of those would be fine for me. I thought this could be done with a macro. My problems are the following:
I don't know how to write the macro. I have a rudimentary understanding of scripting (mostly Python) but not with this particular language.
I don't seem to be able to attach two interactions to one object (i.e. one for the jumping and one one for the macro to change the appearance).
I hope that there is a simple solution to this. Thanks in advance!
The tag is for Basic, so I'll go with that. However, LibreOffice macros can also be written in Python. To get started with Python macros, use APSO and check out this tutorial.
Anyway, here is some Basic code for Impress to point you in the right direction.
oDoc = ThisComponent
oDrawPage = oDoc.getDrawPages().getByIndex(0)
oShape = oDrawPage.getByIndex(0)
mri(oShape)
MsgBox(oShape.getControl().Label)
Whether you decide on Basic or Python, get the MRI extension in order to discover UNO properties of an object. This way you can find out how to change the button.
When you have some code, post another question or edit this one that shows the code you have so far, and describe problems you encountered.

Google Colab. How to hide the python code for readers

I would like to hide the code of a cell for the readers.
I know that you can use ##title to hide code in a cell.
However, if the reader doble click on the title or right mouse and select show code, he/she will be able to see the code again.
What I need is that nobody will be able to see the code behind. I want that they only were able to run the code and interact with it using the widgets.
Is there any way to do that?
Thank you very much.
Appreciated any insight on this question.

Hidden dropdown menu like Windows 8 right side menu

I am not sure what I call it... The pulling menu in windows8? You know the one with the setting etc in it
See this picture:
http://www.eightforums.com/attachments/tutorials/3414d1330544186-lock-log-off-restart-shut-down-switch-user-windows-8-a-settings-1.jpg
How do I make one?
I can use vbscript..I know you can't use this to make what I want...
Vba and just over the last month powershell.
I was looking at Python... People keep telling me it's awesome to use can you make a menu bar like that picture in Python?
Suggestions to what to start learning and reading would be great?

Mimic Explorer.exe So I can Customize It's Toolbars

I am trying to make a form of explorer.exe so I can customize the toolbars to do more things that I want, such as create a list of what is in the current directory I'm looking at.
I'm currently trying to put a pannel onto the windows form and am using the code:
panel1.display("C:\")
I've also tried:
panel1.url("C:\")
And:
panel1.navigate("C:\")
When I used Java in class I could construct something similar to this with panels, so can someone please tell my why I can't get the panel to display the contents of the C: drive?
You are extremely close, on the right track. What you should do instead is use a simple web browser. It can do more than just browse internet pages. If you use the following code it should work:
webbrowser1.navigate("C:\")

Windows like window look

I am looking on the internet for two days to create a form with the extended titlebar (to have the left, right and an search-bar) and the sidebar. I extracted 3 background images from shell32.dll that are used in the sidebar.
I'd like to know if I could namespace some shell objects or is there a solution. I really would like to see this happening.
Thank you.
Code Project, non-client area. I know it's not VB, but maybe enough to glean what you need.