Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Normsinv funciton

I want to use ms excel function normsinv to calculate some value in vba?

how can i use?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Normsinv funciton

Maybe

MyValue = WorksheetFunction.NormSInv(Range("A1").Value)

Mike

"Sunil Pradhan" wrote:

I want to use ms excel function normsinv to calculate some value in vba?

how can i use?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Normsinv funciton

mike, it did not work. I am giving down the complete code to calcuate some
value.

Private Sub CommandButton1_Click()
Dim val As Single
Dim res As Single
Dim myvalue As Single

val = CSng(TextBox1.Value)

Sheet1.Cells(a1).Value = val

myvalue = WorksheetFunction.NormSInv(Range("A1").Value)

TextBox2.Value = myvalue + 1.5


End Sub

pls help. this runs on form.
"Mike H" wrote:

Maybe

MyValue = WorksheetFunction.NormSInv(Range("A1").Value)

Mike

"Sunil Pradhan" wrote:

I want to use ms excel function normsinv to calculate some value in vba?

how can i use?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Normsinv funciton

1. Sheet1.Range("a1").Value = val
2. what value are you inserting into A1? should be =0 and =<1 according to
Help since this is probability

HIH

U¿ytkownik "Sunil Pradhan" napisa³
w wiadomo¶ci ...
mike, it did not work. I am giving down the complete code to calcuate
some
value.

Private Sub CommandButton1_Click()
Dim val As Single
Dim res As Single
Dim myvalue As Single

val = CSng(TextBox1.Value)

Sheet1.Cells(a1).Value = val

myvalue = WorksheetFunction.NormSInv(Range("A1").Value)

TextBox2.Value = myvalue + 1.5


End Sub

pls help. this runs on form.
"Mike H" wrote:

Maybe

MyValue = WorksheetFunction.NormSInv(Range("A1").Value)

Mike

"Sunil Pradhan" wrote:

I want to use ms excel function normsinv to calculate some value in
vba?

how can i use?



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Normsinv funciton

Hi Jarek,

It worked, but I want some more. I do not want to transfer the value to
cell, instead I want to use withing the code. Pls make me mroe comfortable
doing this.

Sunil


Private Sub CommandButton1_Click()
Dim val As Single
Dim res As Single
Dim myvalue As Single

val = CSng(TextBox1.Value)

Sheet1.Range("a1").Value = val

myvalue = WorksheetFunction.NormSInv(Range("A1").Value)

TextBox2.Value = myvalue + 1.5

End Sub


"Jarek Kujawa" wrote:

1. Sheet1.Range("a1").Value = val
2. what value are you inserting into A1? should be =0 and =<1 according to
Help since this is probability

HIH

U¿ytkownik "Sunil Pradhan" napisa³
w wiadomo¶ci ...
mike, it did not work. I am giving down the complete code to calcuate
some
value.

Private Sub CommandButton1_Click()
Dim val As Single
Dim res As Single
Dim myvalue As Single

val = CSng(TextBox1.Value)

Sheet1.Cells(a1).Value = val

myvalue = WorksheetFunction.NormSInv(Range("A1").Value)

TextBox2.Value = myvalue + 1.5


End Sub

pls help. this runs on form.
"Mike H" wrote:

Maybe

MyValue = WorksheetFunction.NormSInv(Range("A1").Value)

Mike

"Sunil Pradhan" wrote:

I want to use ms excel function normsinv to calculate some value in
vba?

how can i use?




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
is there a function like NORMSINV for exponential distribution Stuart Douglas[_2_] Excel Worksheet Functions 3 April 3rd 23 11:13 AM
NORMSDIST() and NORMSINV() Schizoid Man[_2_] Excel Programming 3 May 25th 06 06:51 PM
IS there a mathematical formula for NORMSINV? SyBorg Excel Worksheet Functions 1 May 19th 06 06:47 PM
RANK Funciton Marcos Excel Worksheet Functions 1 November 10th 05 12:34 AM
"Unable to get the NormSInv property of the WorksheetFunction clas David Roodman Excel Worksheet Functions 1 December 15th 04 12:15 PM


All times are GMT +1. The time now is 12:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"