enable macros in my file

RAJESH1960

Banned for repeated rules violations
Joined
Mar 26, 2020
Messages
2,313
Office Version
  1. 2019
Platform
  1. Windows
Hello guys

I am facing a problem in excel sheet. I have created a few macros in my workbook. They were running fine till the last time I worked. When I opened the workbook now, it did not ask whether to enable macros and straight away opened the sheet. When I tried to run the code in the button, it displays cannot run the macro. The macro may not be available in this workbook or all macros may be disabled. I can’t understand why. What is the solution for this problem.?
 
Then the only solution seems to be that your buttons are not correctly assigned to the macros.
Reassign the macros and check.
 
Upvote 0

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Right click on button and select macro:

1637270850160.png
 
Upvote 0
Right click on button and select macro:

View attachment 51607
I tried re assigning the macros, saved and closed the workbook. Later I reopened it and still it doesn't ask for permission to enable. All the other macro enabled workbooks are having the same issues now. Will try and check it out at my work place today. Will update tonight ... ?
 
Upvote 0

Forum statistics

Threads
1,214,589
Messages
6,120,416
Members
448,960
Latest member
AKSMITH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top