Link to home
Start Free TrialLog in
Avatar of ugeb
ugebFlag for United States of America

asked on

Norm.S.Dist and Object properties window in Excel 2013

Hi,

I've just started using Excel 2013, and I'm updating a VBA macro written in Excel 2003.

First, I've noticed that in the worksheet functions, NormSDist has been replaced by Norm.S.Dist.  However, in  VBA the syntax

Application .Norm.S.Dist

doesn't work while

Application .NormSDist

does still work.  Is there a new syntax for accessing these worksheet functions through VBA or do I just continue using the old version?  They have different syntax and I'd prefer to update.

In general, is there a way to bring up object properties for the 'Application'?  When I right click I can choose 'List Properties' and it brings up a context list, but I'd like a more permanent window.  The context list disappears after a few seconds for some reason.

Thanks!
Avatar of Faustulus
Faustulus
Flag of Singapore image

Click here for a list of worksheet functions supported by VB in Office 2013.
The new function Norm.S.Dist isn't an exact equal of the earlier NormSDist. Read here about the differences. Bear in mind that VBA isn't updated whenever MS Office is. Basically, you aren't migrating from Office 2003 to Office 2013 but from VB4 (or later) to VB7.
In VBA the period has a particular function. I can't quite see how they could accommodate a name like Norm.S.Dist in VBA syntax. But I admit to the possibility of confusion should the VBA call of WorksheetFunction.NormSDist() turn out to apply the newer functionality of Norm.S.Dist.
Avatar of ugeb

ASKER

Thanks for that.  I had actually found that the new function in VBA is called Norm_S_Dist,  so all periods are converted to underscores.

The bigger question is about the properties window.  Do you know the answer to that?
Did you click on the link I provided under "Click here" in my previous response? It opens a list of all the worksheet functions available in VBA. Isn't that what you wanted?
Avatar of ugeb

ASKER

As I mentioned, I had actually found last night that the new function in VBA is called Norm_S_Dist. I didn't click on your link.

However, with your last response I did click your link, and it still doesn't answer the question about the properties window.  This was the second question in my original post, and the most important for me since I couldn't use an alternative as I could have with the norm function had I needed to.


Do you know the answer to the properties window question?
ASKER CERTIFIED SOLUTION
Avatar of Faustulus
Faustulus
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ugeb

ASKER

Great, thanks.  The object browser is what I was looking for.