Hi ALL,
so have a excel file which contains Macro code and which is present as button on sheet 1 and if press that button(Validate) we can see the result in sheet 2.
so my question is how to find that macro name used for Validate button.
Thank you!
Hi ALL,
so have a excel file which contains Macro code and which is present as button on sheet 1 and if press that button(Validate) we can see the result in sheet 2.
so my question is how to find that macro name used for Validate button.
Thank you!
Please try as below:
To locate the macro name linked to a button in an Excel spreadsheet, follow these steps:
Open the Workbook–>Access the Excel file containing the button.
Enable the Developer Tab–>If it’s not visible, enable it via File > Options > Customize Ribbon, then check “Developer”.
View Button Properties–> Activate “Design Mode” under the Developer tab, right-click the “Validate” button on Sheet 1, and select Assign Macro....
Check the Macro Name–>The assigned macro name will be displayed in the “Assign Macro” dialogue.
Explore the Macro Code–> To view the macro’s functionality, open the VBA editor via the Developer tab or by pressing Alt + F11, navigate to Modules, and locate the macro name.
By following these instructions, you can identify and examine the macro linked to the “Validate” button.
Right click on the macro button and click Assign macro.
On next screen, here would be your macro name.
Remember: If your macro file is password protected, you will have to unprotect it then only it will be visible.
Thanks,
Ashok ![]()
Yes, You can click on edit and it should open the Code editor pointing to the Sub or Function named button
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.