How to use VBA to customize the menu bar in Excel after selecting a picture and right clicking it?

365VIP 0 Reputation points
2023-11-13T13:01:13.56+00:00

I want to right click on the image, the menu appears and click on the button in it to trigger the macro. I went through commandbars and found none of them that I wanted

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,964 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,737 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,989 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.