Forum Discussion
Ignacio Vega Maza
Aug 26, 2017Copper Contributor
Application.WorksheetFunction.Norm_S_Dist(Sheets(b).Cells(4, (i * 3)), True)
Good morning,
I've programmed the next instruction:
aux1 = Application.WorksheetFunction.Norm_S_Dist(Sheets(b).Cells(4, (i * 3)), True)
In a windows PC. When I tried to run in my mac (Excel 2011), it doesn't work. How can I solve it please?. Thanks.
2 Replies
- Deleted
Hello,
as far as I know, the function Norm_S_Dist is not available in VBA for Excel for Mac 2011. So, if possible, you should use the older version NormSDist:
=Application.WorksheetFunction.NormSDist(Sheets(b).Cells(4, (i * 3)))
Or, e.g. as an alternative, calculate the required value in a cell by using the NORM.S.DIST function and then retrieve the cell value from VBA.
Best
Mourad
- Ignacio Vega MazaCopper Contributor
Good morning,
Thank you very much. "NormSDist" works perfectly.