Excel Version Compatibility Issues in VBA

Larry Haydn

Board Regular
Joined
Jul 18, 2019
Messages
207
Office Version
  1. 365
Platform
  1. Windows
I developed an Excel VBA application on my Windows 10 Office 365 platform.
My client is using Windows 8, Office 2016.
Additional info: their PC language is English, with Japanese as a secondary language.

My application crashed on their system.

Symptoms:
A formula =IFS(something|something|something...)
becomes =_xlfn.IFS(something,something,something...)

The pipe ( | ) changing to comma ( , ) probably means that their Excel is an older version.
But what is the _xlfn. that is inserted into the formula?

Anyone encounter this?
How did you solve this problem?

Other symptons:
I had copied some of the macros from their system to mine PC, and modified them.
Sometimes while editing these macros, my keyboard's double-quote ( " ) and AT ( @ ) keys gets swapped.
Why does this happen?
How to solve it?
 
Yes, I did some testing with UDFs included and they were always all evaluated no matter where they appeared in the formula. Disappointing really.
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
That's very curious.

Having nice animations is more important than efficiency.
 
Upvote 0
So it seems. The new spill functions are nice though (and some long overdue).
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,598
Members
449,089
Latest member
Motoracer88

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