Code not running on new computer

John Wol

New Member
Joined
Jan 6, 2019
Messages
7
I have a small .xlsm file which contains two simple macros and a VB module designed to return a 10-character hash from a character string using "=BASE64SHA1(A1)". I'm not skilled in VB so I simply found the code from a web site. The only mod I made was to set the length of the hash to 10 characters.

I've been using this file regularly for about a year on each of three computers without problems all using Office 365.

I have recently bought a new computer, installed Office 365 and tried to use the file. "=BASE64SHA1(A1)" only returns "#VALUE". The other two macros in the file work correctly. The same file continues to work correctly on the other computers.

I have compared the Excel options on the new computer with those on one of my other machines they all seem identical but I might have missed something.

I would be grateful for any help you might be able to offer.
 
Thank you for your reply. I am away from home (and the offending computer) for a couple of days. I'll look at this on my return.
 
Upvote 0

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Problem solved!!!

While trying to do something else, I received an error message saying that I needed to install .NET. I've no idea what that is but I installed it anyway and now the code runs.

Thank you for your help with this.
 
Upvote 0
.Net is used in a lot of things from microsoft
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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