Compile error in hidden module

RAJESH1960

Banned for repeated rules violations
Joined
Mar 26, 2020
Messages
2,313
Office Version
  1. 2019
Platform
  1. Windows
Hello JohnnyL
The application Match Portal is running perfect in every way. Today I visited a new office and tested to run Match Portal application. But I ran into this error for the first time. What could be the reason and how do I rectify it to make it compatible to run in all versions of excel.?
Compile error in hidden module Match Portal
This error commonly occurs when code is incompatible with the version, platform or architecture of this application.
 
I would like to point out the 'add2' issue and the 'FormulaVersion:=xlReplaceFormula' issue were not my code. ;) :rolleyes: 🤣
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
I would like to point out the 'add2' issue and the 'FormulaVersion:=xlReplaceFormula' issue were not my code. ;) :rolleyes: 🤣
I know man. All the codes without comments ain't yours. The Add2 was edited by Domenic and I think he too was not aware that it would be used in older versions of excel.
 
Upvote 0
After replacing Add2 with add and commenting the line JohnnyL suggested, the code ran without any problem in the old versions of excel. Tested and confirmed.
Thanks to JohnnyL and Fluff. :)
 
Upvote 0
I didn't have to go in front of the other people, run the script, and when the error occurred say "Ummm, hold on folks, Let me log on to MrExcel real quick". :ROFLMAO:
 
Upvote 0
Ummm, hold on folks, Let me log on to MrExcel real quick"
:ROFLMAO: True. I have no other option. When I have this forum where, when some think it is impossible to solve there are people who find a way to solve it, why should I worry.
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

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