Codes in Modules are not working - maybe after update?

HansPA

New Member
Joined
Mar 31, 2010
Messages
27
Hi.

Have anyone experienced that codes in modules have stopped working recently??

I have a sheet with a lot of functions in different modules. Yesterday I discovered that the codes in the modules is no longer recognized by Excel.
I thought it maybe could be a corrupt installation on my computer, so I tried to load the sheet on another computer but with same result.
Now I have made a new sheet and made a simpel function in Module1. This is not working either....

Function HPA(A)
HPA = 1
End Function

I'm using Excel 2016 MSO (16.0.8229.2086) 32 bit.

What the heck happend...??

Regards Hans
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Check your security center to make sure your access to VBA is still valid and that your macros are enabled.
 
Upvote 0

Forum statistics

Threads
1,215,327
Messages
6,124,292
Members
449,149
Latest member
mwdbActuary

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