Excel VBA - Number to Text Function

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024
  • Excel VBA - Number to Text Function
    Watch More Videos at:
    www.tutorialsp...
    Lecture By: Mr. Pavan Lalwani Tutorials Point India Private Limited

ความคิดเห็น • 174

  • @RSJSqUaD
    @RSJSqUaD 2 ปีที่แล้ว

    Very clear and easy understanding. Hats off to your clarity boss

  • @michelquoirin2333
    @michelquoirin2333 2 ปีที่แล้ว +2

    Thank you so much for your very educative playlist. In your previous video with immediate Window, i changed the name Sheet by worksheet and it worked . Practising each of your tutorials is divine

  • @rajkumarpalle8217
    @rajkumarpalle8217 ปีที่แล้ว

    Its was nice explaination.. and nice video. Thank you sir.

    • @nishkarshkoche9218
      @nishkarshkoche9218 ปีที่แล้ว

      I didn't got the code can u help me where to find it. It is not given in the description?

  • @bvkksprakasaraju4993
    @bvkksprakasaraju4993 4 ปีที่แล้ว +1

    Dear Mr Pawan please show where is the note pad to download to copy spell program
    explaining every minute thing very patiently
    excellent teaching skill
    Thank you

  • @seherhashim7293
    @seherhashim7293 6 ปีที่แล้ว +12

    Hi.
    I cannot find the file attached. Can you please attach the file with the code. Thank you

    • @chiranjeetsarkar891
      @chiranjeetsarkar891 7 หลายเดือนก่อน

      I also tried to find it, but can not see it.

  • @sainathdhampalwar
    @sainathdhampalwar 5 ปีที่แล้ว +3

    all videos very nice.....
    i am not finding any notepad attachment.....plz share the same

  • @jaswantdn7
    @jaswantdn7 6 ปีที่แล้ว

    your lessons on VBA are very useful..anybody can learn from these sets of lessons...

    • @georgeregoo
      @georgeregoo 4 ปีที่แล้ว +1

      The exact same code can be found on microsoft website.

  • @saineeli4593
    @saineeli4593 ปีที่แล้ว

    Your way of teach is good ..thank you..and can u share the link about number to text the program.(I need coding about number convert to text),please

  • @manishmanny2240
    @manishmanny2240 2 ปีที่แล้ว

    Please attached this convert Module code.....Thank you... your all video is easy to understand ...

  • @PavanLalwani
    @PavanLalwani 6 ปีที่แล้ว +3

    Function IntToString(amt As Variant) As Variant Dim FIGURE As Variant Dim LENFIG As Integer Dim i As Integer Dim Str(19) As String Dim tens(9) As String Str(1) = "One" Str(2) = "Two" Str(3) = "Three" Str(4) = "Four" Str(5) = "Five" Str(6) = "Six" Str(7) = "Seven" Str(8) = "Eight" Str(9) = "Nine" Str(10) = "Ten" Str(11) = "Eleven" Str(12) = "Twelve" Str(13) = "Thirteen" Str(14) = "Forteen" Str(15) = "Fifteen" Str(16) = "Sixteen" Str(17) = "Seventeen" Str(18) = "Eighteen" Str(19) = "Nineteen" tens(2) = "Twenty" tens(3) = "Thirty" tens(4) = "Forty" tens(5) = "Fifty" tens(6) = "Sixty" tens(7) = "Seventy" tens(8) = "Eighty" tens(9) = "Ninety" FIGURE = amt FIGURE = Format(FIGURE, "FIXED") FIGLEN = Len(FIGURE) If FIGLEN < 12 Then FIGURE = Space(12 - FIGLEN) & FIGURE End If If Val(Left(FIGURE, 9)) > 1 Then IntToString = "Rupees " ElseIf Val(Left(FIGURE, 9)) = 1 Then IntToString = "Rupee " End If For i = 1 To 3 If Val(Left(FIGURE, 2)) < 20 And Val(Left(FIGURE, 2)) > 0 Then IntToString = IntToString & Str(Val(Left(FIGURE, 2))) ElseIf Val(Left(FIGURE, 2)) > 19 Then IntToString = IntToString & tens(Val(Left(FIGURE, 1))) IntToString = IntToString & Str(Val(Right(Left(FIGURE, 2), 1))) End If If i = 1 And Val(Left(FIGURE, 2)) > 0 Then IntToString = IntToString & " Crore " ElseIf i = 2 And Val(Left(FIGURE, 2)) > 0 Then IntToString = IntToString & " Lakh " ElseIf i = 3 And Val(Left(FIGURE, 2)) > 0 Then IntToString = IntToString & " Thousand " End If FIGURE = Mid(FIGURE, 3) Next i If Val(Left(FIGURE, 1)) > 0 Then IntToString = IntToString & Str(Val(Left(FIGURE, 1))) + " Hundred " End If FIGURE = Mid(FIGURE, 2) If Val(Left(FIGURE, 2)) < 20 And Val(Left(FIGURE, 2)) > 0 Then IntToString = IntToString & Str(Val(Left(FIGURE, 2))) ElseIf Val(Left(FIGURE, 2)) > 19 Then IntToString = IntToString & " " & tens(Val(Left(FIGURE, 1))) IntToString = IntToString & " " & Str(Val(Right(Left(FIGURE, 2), 1))) End If FIGURE = Mid(FIGURE, 4) If Val(FIGURE) > 0 Then IntToString = IntToString & " Paise " If Val(Left(FIGURE, 2)) < 20 And Val(Left(FIGURE, 2)) > 0 Then IntToString = IntToString & Str(Val(Left(FIGURE, 2))) ElseIf Val(Left(FIGURE, 2)) > 19 Then IntToString = IntToString & " " & tens(Val(Left(FIGURE, 1))) IntToString = IntToString & " " & Str(Val(Right(Left(FIGURE, 2), 1))) End If End If FIGURE = amt FIGURE = Format(FIGURE, "FIXED") If Val(FIGURE) > 0 Then IntToString = IntToString & " Only " End If End Function

    • @bankornheng402
      @bankornheng402 5 ปีที่แล้ว

      I would like to obtain you code, How could i get it?

  • @ef7496
    @ef7496 5 ปีที่แล้ว +1

    Hi , thank you so much for such a useful video, Can you please make a video about how to covert any word to numbers? I am assuming it should be binary numbers or whatever you think it will work.

  • @tariqkhan7447
    @tariqkhan7447 3 ปีที่แล้ว +2

    Many thanks. Could you please let me know how to get amount in words like one lac rupees or eight lac.

  • @himanshudohare6726
    @himanshudohare6726 ปีที่แล้ว

    Hello Sir. Thanks for this wonderful playlist. I am not able to the find the note pad file. could you please provide the same.

  • @arthurreynolds6638
    @arthurreynolds6638 10 หลายเดือนก่อน +1

    Where can I find this code to copy?

  • @NishantSingh-qf4bf
    @NishantSingh-qf4bf 3 ปีที่แล้ว +1

    Sir mine is showing compile eror
    Expected:expression and sir when I put second formula it is showing "#NAME? "

  • @jaleelchandumuhammed667
    @jaleelchandumuhammed667 4 ปีที่แล้ว

    Really super Class

  • @johnsonm.v8741
    @johnsonm.v8741 2 ปีที่แล้ว

    Hi, Thank you for your tutorial. Whereas can I have the code so that I can copy. Please help

  • @nazarabbas6956
    @nazarabbas6956 3 ปีที่แล้ว

    Where is the notepad which you have shared? After clicking link I have visit your page but I don't have found so tell me about exact location into the page. Thanks

  • @ramanajami4038
    @ramanajami4038 2 ปีที่แล้ว

    Thank you so much , But not able to find the Code in Notepad as you said. will you share me the notepad

  • @HaseebMirza-f8y
    @HaseebMirza-f8y 5 หลายเดือนก่อน

    Sir Where can we find the code that you copy pasted . i understood what you did but i believe that was just copy pasting

  • @tesorointeriors4000
    @tesorointeriors4000 ปีที่แล้ว

    Thank you so much , But not able to find the Code in Notepad as you said. will you share me the notepad.. Please..

  • @boomideviravishankar857
    @boomideviravishankar857 4 ปีที่แล้ว +1

    where is the notepad which you have written the code?

  • @muhammadkhalil5712
    @muhammadkhalil5712 2 ปีที่แล้ว

    Hi, sir appreciated ♥️
    Sir I think you did not mention the code..from where we can copy the code..?
    Thanks

  • @rakeshgoud_hi
    @rakeshgoud_hi 4 ปีที่แล้ว +1

    Hi Sir,
    I am unable to find the attachment...please advice

  • @DedeSews
    @DedeSews 5 ปีที่แล้ว +3

    I am getting an error at the line: Cents = GetTens(Left(Mid(MyNumber, DecimalPlace + 1) & _ "00", 2))
    The error says "Compile error: Syntax error" Do you have any suggestions?

    • @Nxby.Szyslak
      @Nxby.Szyslak 5 ปีที่แล้ว

      I have the same message!😣

    • @domainrajud6341
      @domainrajud6341 4 ปีที่แล้ว +5

      use the below script
      ------------------------------------------
      Option Explicit
      'Main Function
      Function SpellNumber(ByVal MyNumber)
      Dim Dollars, Cents, Temp
      Dim DecimalPlace, Count
      ReDim Place(9) As String
      Place(2) = " Thousand "
      Place(3) = " Million "
      Place(4) = " Billion "
      Place(5) = " Trillion "
      ' String representation of amount.
      MyNumber = Trim(Str(MyNumber))
      ' Position of decimal place 0 if none.
      DecimalPlace = InStr(MyNumber, ".")
      ' Convert cents and set MyNumber to dollar amount.
      If DecimalPlace > 0 Then
      Cents = GetTens(Left(Mid(MyNumber, DecimalPlace + 1) & _
      "00", 2))
      MyNumber = Trim(Left(MyNumber, DecimalPlace - 1))
      End If
      Count = 1
      Do While MyNumber ""
      Temp = GetHundreds(Right(MyNumber, 3))
      If Temp "" Then Dollars = Temp & Place(Count) & Dollars
      If Len(MyNumber) > 3 Then
      MyNumber = Left(MyNumber, Len(MyNumber) - 3)
      Else
      MyNumber = ""
      End If
      Count = Count + 1
      Loop
      Select Case Dollars
      Case ""
      Dollars = "Zero Dollars"
      Case "One"
      Dollars = "One Dollar"
      Case Else
      Dollars = Dollars & " Dollars"
      End Select
      Select Case Cents
      Case ""
      Cents = " and Zero Cents"
      Case "One"
      Cents = " and One Cent"
      Case Else
      Cents = " and " & Cents & " Cents"
      End Select
      SpellNumber = Dollars & Cents
      End Function

      ' Converts a number from 100-999 into text
      Function GetHundreds(ByVal MyNumber)
      Dim Result As String
      If Val(MyNumber) = 0 Then Exit Function
      MyNumber = Right("000" & MyNumber, 3)
      ' Convert the hundreds place.
      If Mid(MyNumber, 1, 1) "0" Then
      Result = GetDigit(Mid(MyNumber, 1, 1)) & " Hundred "
      End If
      ' Convert the tens and ones place.
      If Mid(MyNumber, 2, 1) "0" Then
      Result = Result & GetTens(Mid(MyNumber, 2))
      Else
      Result = Result & GetDigit(Mid(MyNumber, 3))
      End If
      GetHundreds = Result
      End Function

      ' Converts a number from 10 to 99 into text.
      Function GetTens(TensText)
      Dim Result As String
      Result = "" ' Null out the temporary function value.
      If Val(Left(TensText, 1)) = 1 Then ' If value between 10-19...
      Select Case Val(TensText)
      Case 10: Result = "Ten"
      Case 11: Result = "Eleven"
      Case 12: Result = "Twelve"
      Case 13: Result = "Thirteen"
      Case 14: Result = "Fourteen"
      Case 15: Result = "Fifteen"
      Case 16: Result = "Sixteen"
      Case 17: Result = "Seventeen"
      Case 18: Result = "Eighteen"
      Case 19: Result = "Nineteen"
      Case Else
      End Select
      Else ' If value between 20-99...
      Select Case Val(Left(TensText, 1))
      Case 2: Result = "Twenty "
      Case 3: Result = "Thirty "
      Case 4: Result = "Forty "
      Case 5: Result = "Fifty "
      Case 6: Result = "Sixty "
      Case 7: Result = "Seventy "
      Case 8: Result = "Eighty "
      Case 9: Result = "Ninety "
      Case Else
      End Select
      Result = Result & GetDigit _
      (Right(TensText, 1)) ' Retrieve ones place.
      End If
      GetTens = Result
      End Function

      ' Converts a number from 1 to 9 into text.
      Function GetDigit(Digit)
      Select Case Val(Digit)
      Case 1: GetDigit = "One"
      Case 2: GetDigit = "Two"
      Case 3: GetDigit = "Three"
      Case 4: GetDigit = "Four"
      Case 5: GetDigit = "Five"
      Case 6: GetDigit = "Six"
      Case 7: GetDigit = "Seven"
      Case 8: GetDigit = "Eight"
      Case 9: GetDigit = "Nine"
      Case Else: GetDigit = ""
      End Select
      End Function

    • @ruchirmohan2158
      @ruchirmohan2158 4 ปีที่แล้ว

      @@domainrajud6341 thanks bro !!

    • @vikassethi1240
      @vikassethi1240 4 ปีที่แล้ว

      @@domainrajud6341 Thanks dear

    • @zahoorsarbandi2982
      @zahoorsarbandi2982 ปีที่แล้ว

      @@domainrajud6341 Thank you very much

  • @RSJSqUaD
    @RSJSqUaD 2 ปีที่แล้ว

    Hi Sir, Could you please send me this notepad codings of number to text function. You're standing in the video hiding the codings

  • @saineeli4593
    @saineeli4593 ปีที่แล้ว

    Pleas send the link to download this program ..I need to know the number to text code video

  • @laimichael2440
    @laimichael2440 10 หลายเดือนก่อน

    how can i use the same functions across other workbook? tks!

  • @vijayverma8515
    @vijayverma8515 8 หลายเดือนก่อน

    Function ConvertToText(number As Double) As String
    Dim units As Variant
    Dim tens As Variant
    Dim ones As Variant
    Dim result As String
    ' Define arrays for units, tens, and ones places
    units = Array("", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine")
    tens = Array("", "Ten", "Twenty", "Thirty", "Forty", "Fifty", "Sixty", "Seventy", "Eighty", "Ninety")
    ones = Array("", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Seventeen", "Eighteen", "Nineteen")
    ' Check if the number is zero
    If number = 0 Then
    ConvertToText = "Zero"
    Exit Function
    End If
    ' Extract digits from the number
    Dim hundredsDigit As Integer
    Dim tensDigit As Integer
    Dim onesDigit As Integer
    hundredsDigit = Int((number Mod 1000) / 100)
    tensDigit = Int((number Mod 100) / 10)
    onesDigit = Int(number Mod 10)
    ' Convert hundreds place to text
    If hundredsDigit > 0 Then
    result = units(hundredsDigit) & " Hundred"
    End If
    ' Convert tens and ones places to text
    If tensDigit > 1 Then
    result = result & " " & tens(tensDigit)
    If onesDigit > 0 Then
    result = result & " " & units(onesDigit)
    End If
    ElseIf tensDigit = 1 Then
    result = result & " " & ones(onesDigit)
    ElseIf onesDigit > 0 Then
    result = result & " " & units(onesDigit)
    End If
    ' Trim leading and trailing spaces
    ConvertToText = Trim(result)
    End Function
    You can also generate this code from Chat GPT.

  • @sureshraveendran5972
    @sureshraveendran5972 ปีที่แล้ว

    hai sir
    our excel data base file is in server and it is not converting to numbers it shows on warning "SECURITY RISK Micosoft has blocked macros from running because the source of this file is untrusted"
    please advise what to do for this

  • @georgeregoo
    @georgeregoo 4 ปีที่แล้ว +2

    WHY can't you give the lesson in indian rupees instead of us dollars? this vba code is lifted of mirosoft vba webhelp

  • @tonyolson1962
    @tonyolson1962 5 ปีที่แล้ว +1

    How do you get such a large and interactive screen in your background for this presentation? It’s very cool!
    Are you projecting your computer to a screen?

  • @archi1989
    @archi1989 2 ปีที่แล้ว

    Can you please upload the formula format. It will be really helpful. Thankyou.

  • @wmfield152
    @wmfield152 4 ปีที่แล้ว

    Which one of these courses am I to buy in order to get the numbers to text code?

  • @PetrolGasoil
    @PetrolGasoil 7 หลายเดือนก่อน

    Hi sir te link to the code is not available below the video can you please update

  • @abhishakya5263
    @abhishakya5263 4 ปีที่แล้ว

    Nice video

  • @favoratekochar9555
    @favoratekochar9555 2 ปีที่แล้ว

    Please guide how can we write self..instead for copy paste

  • @MrBhopinderkumar
    @MrBhopinderkumar 6 ปีที่แล้ว

    Nice explain
    Thanks

  • @alkaamin660
    @alkaamin660 4 ปีที่แล้ว

    I don't see the Notepad file as said in the video. Do I have to pay for it or be a member.

  • @girishhn6640
    @girishhn6640 5 หลายเดือนก่อน

    I couldn't able to find the attached notepad, please share the like

  • @ramyavasanth1398
    @ramyavasanth1398 6 ปีที่แล้ว +3

    i couldnt find any attachment

  • @harahotta
    @harahotta 5 ปีที่แล้ว

    This menu is not in regular Excel
    Is it only exist in Professional version?

  • @dyseyha9225
    @dyseyha9225 5 ปีที่แล้ว

    Great man !!!

  • @commanderwondwossen8589
    @commanderwondwossen8589 4 ปีที่แล้ว +1

    where is the notepad.please attach it

  • @abduls7301
    @abduls7301 4 ปีที่แล้ว +1

    where is the number t o text code?
    please ?

  • @tessbuba5965
    @tessbuba5965 3 ปีที่แล้ว

    Hi, how to replace Dollars to Peso or to use USD instead? Please notice this comment. Thanks a lot.

  • @alextjohn1
    @alextjohn1 8 หลายเดือนก่อน

    Sir... I need your help. i need to change Doller and cents change Indian rupees and paisa . How it is possible? "Indian Rupees" how it's come? can you pls explain me

  • @subbaraogun5165
    @subbaraogun5165 4 ปีที่แล้ว

    Any one help whare you get note pad I am unable to see

  • @Nxby.Szyslak
    @Nxby.Szyslak 5 ปีที่แล้ว

    Any help please !
    I have this message on my screen
    Error of compilation
    Variable not defineted
    And the word "cents" is selected on virtual basic.
    What can I do?

  • @user-fe4xq5wf9f
    @user-fe4xq5wf9f ปีที่แล้ว

    good description where is the code

  • @shaykh_dubai
    @shaykh_dubai 3 ปีที่แล้ว +1

    I couldn't find the file on your website 😭

  • @firstdealtradingcontractin2724
    @firstdealtradingcontractin2724 2 ปีที่แล้ว

    How to put the word "only" at the end of the amount.

  • @tegaivwighre4716
    @tegaivwighre4716 10 หลายเดือนก่อน

    Please paste the link to download Number to text function

  • @hemantgoyal409
    @hemantgoyal409 4 ปีที่แล้ว

    Hello sir ..how I can search names in my database with same sounding and different spelling..like John and Jon.. Deepak and dipak..please guide

  • @VenkateshB23064
    @VenkateshB23064 3 ปีที่แล้ว

    Can you please explain this above code in detail in another video?

  • @aashishsaxena3720
    @aashishsaxena3720 3 ปีที่แล้ว

    Dear need help on formatting a Textbox for a form , of First three alpha, last two numbers separated by a "-" , somewhat (a,a,a,"-" ,n,n) with length of 6

  • @biccbirgunj5923
    @biccbirgunj5923 3 ปีที่แล้ว

    Will you help to convert the following in excel
    eg. number format $145.00
    into Text format $145.00

  • @bhoboghure7393
    @bhoboghure7393 4 ปีที่แล้ว

    Sir
    How can i write only: "Fifty Thousand and cents thirty only" by using this formula...

  • @anamkounain2289
    @anamkounain2289 3 หลายเดือนก่อน

    Can u give the code

  • @hijratsail581
    @hijratsail581 2 ปีที่แล้ว

    I cant received any attached here can you help me

  • @rajesht7492
    @rajesht7492 4 ปีที่แล้ว

    where do I find the note pad file referred to in this video

  • @patilpatil8262
    @patilpatil8262 4 ปีที่แล้ว

    where is the code in notepad?????????
    not found in a video description.

  • @shafeekabds3034
    @shafeekabds3034 4 ปีที่แล้ว

    could you please provide the Attachment ? i couldn't find the same here

  • @baruwacampus1838
    @baruwacampus1838 3 ปีที่แล้ว

    would you provide vb codes to convert numbers upto 50 only?

  • @harshabandaru6321
    @harshabandaru6321 3 ปีที่แล้ว

    There is no code attached from your video reference bro...

  • @sureshrao8116
    @sureshrao8116 2 ปีที่แล้ว

    am searching no notepad file is not in below the this file

  • @umeshlangade9231
    @umeshlangade9231 6 ปีที่แล้ว +5

    Hello,
    There is no attachment, kindly share.

    • @singhsk91
      @singhsk91 4 ปีที่แล้ว +1

      Option Explicit
      'Main Function
      Function SpellNumber(ByVal MyNumber)
      Dim Dollars, Cents, Temp
      Dim DecimalPlace, Count
      ReDim Place(9) As String
      Place(2) = " Thousand "
      Place(3) = " Million "
      Place(4) = " Billion "
      Place(5) = " Trillion "
      ' String representation of amount.
      MyNumber = Trim(Str(MyNumber))
      ' Position of decimal place 0 if none.
      DecimalPlace = InStr(MyNumber, ".")
      ' Convert cents and set MyNumber to dollar amount.
      If DecimalPlace > 0 Then
      Cents = GetTens(Left(Mid(MyNumber, DecimalPlace + 1) & _
      "00", 2))
      MyNumber = Trim(Left(MyNumber, DecimalPlace - 1))
      End If
      Count = 1
      Do While MyNumber ""
      Temp = GetHundreds(Right(MyNumber, 3))
      If Temp "" Then Dollars = Temp & Place(Count) & Dollars
      If Len(MyNumber) > 3 Then
      MyNumber = Left(MyNumber, Len(MyNumber) - 3)
      Else
      MyNumber = ""
      End If
      Count = Count + 1
      Loop
      Select Case Dollars
      Case ""
      Dollars = "No Dollars"
      Case "One"
      Dollars = "One Dollar"
      Case Else
      Dollars = Dollars & " Dollars"
      End Select
      Select Case Cents
      Case ""
      Cents = " and No Cents"
      Case "One"
      Cents = " and One Cent"
      Case Else
      Cents = " and " & Cents & " Cents"
      End Select
      SpellNumber = Dollars & Cents
      End Function
      ' Converts a number from 100-999 into text
      Function GetHundreds(ByVal MyNumber)
      Dim Result As String
      If Val(MyNumber) = 0 Then Exit Function
      MyNumber = Right("000" & MyNumber, 3)
      ' Convert the hundreds place.
      If Mid(MyNumber, 1, 1) "0" Then
      Result = GetDigit(Mid(MyNumber, 1, 1)) & " Hundred "
      End If
      ' Convert the tens and ones place.
      If Mid(MyNumber, 2, 1) "0" Then
      Result = Result & GetTens(Mid(MyNumber, 2))
      Else
      Result = Result & GetDigit(Mid(MyNumber, 3))
      End If
      GetHundreds = Result
      End Function
      ' Converts a number from 10 to 99 into text.
      Function GetTens(TensText)
      Dim Result As String
      Result = "" ' Null out the temporary function value.
      If Val(Left(TensText, 1)) = 1 Then ' If value between 10-19...
      Select Case Val(TensText)
      Case 10: Result = "Ten"
      Case 11: Result = "Eleven"
      Case 12: Result = "Twelve"
      Case 13: Result = "Thirteen"
      Case 14: Result = "Fourteen"
      Case 15: Result = "Fifteen"
      Case 16: Result = "Sixteen"
      Case 17: Result = "Seventeen"
      Case 18: Result = "Eighteen"
      Case 19: Result = "Nineteen"
      Case Else
      End Select
      Else ' If value between 20-99...
      Select Case Val(Left(TensText, 1))
      Case 2: Result = "Twenty "
      Case 3: Result = "Thirty "
      Case 4: Result = "Forty "
      Case 5: Result = "Fifty "
      Case 6: Result = "Sixty "
      Case 7: Result = "Seventy "
      Case 8: Result = "Eighty "
      Case 9: Result = "Ninety "
      Case Else
      End Select
      Result = Result & GetDigit _
      (Right(TensText, 1)) ' Retrieve ones place.
      End If
      GetTens = Result
      End Function
      ' Converts a number from 1 to 9 into text.
      Function GetDigit(Digit)
      Select Case Val(Digit)
      Case 1: GetDigit = "One"
      Case 2: GetDigit = "Two"
      Case 3: GetDigit = "Three"
      Case 4: GetDigit = "Four"
      Case 5: GetDigit = "Five"
      Case 6: GetDigit = "Six"
      Case 7: GetDigit = "Seven"
      Case 8: GetDigit = "Eight"
      Case 9: GetDigit = "Nine"
      Case Else: GetDigit = ""
      End Select
      End Function
      Copy and paste in module. do it. Function SpellNumber

    • @Ypushphakumar
      @Ypushphakumar 3 หลายเดือนก่อน

      @@singhsk91 Thankyou so much sir

  • @Deepratan27
    @Deepratan27 2 ปีที่แล้ว

    It's working only single open file, if again open fresh excel it's not working

  • @hrishikeshchaudhari2456
    @hrishikeshchaudhari2456 4 ปีที่แล้ว +1

    Please share VBA code notepad

  • @nikitasharma5604
    @nikitasharma5604 9 หลายเดือนก่อน

    From where did you get this code please reply

    • @chiranjeetsarkar891
      @chiranjeetsarkar891 7 หลายเดือนก่อน

      No code found, I also checked didi 😊😊

  • @sethumadhavan375
    @sethumadhavan375 4 ปีที่แล้ว

    Please attach the Notepad mentioned in the video.

  • @aravaanent1654
    @aravaanent1654 ปีที่แล้ว

    can you share file for kenya shillings

  • @md.selimreza6796
    @md.selimreza6796 4 ปีที่แล้ว

    Can i get the formula of no to word

  • @chiragdixit7178
    @chiragdixit7178 2 ปีที่แล้ว

    i can not find the attached notpad file

  • @dineshgajbhiye9507
    @dineshgajbhiye9507 3 ปีที่แล้ว

    Pls share the notepad for number to text macro

  • @seemakaushal2212
    @seemakaushal2212 4 ปีที่แล้ว

    where is the code notepad , din find please help

  • @Vishalsharma-xj3ej
    @Vishalsharma-xj3ej 4 ปีที่แล้ว

    How to change currency type from dollar to rupees? Please explain

  • @sujanujgowda4534
    @sujanujgowda4534 6 ปีที่แล้ว

    No file attached and I searched in your portal as well, please share

  • @snnsr3
    @snnsr3 3 ปีที่แล้ว

    will you please share this code with us ?

  • @gunadmtdomains
    @gunadmtdomains 4 ปีที่แล้ว

    No attachment is here please share me.

  • @yuvrajprajapati6549
    @yuvrajprajapati6549 3 ปีที่แล้ว

    I couldn't find the developer option

  • @hamzamushtaq7790
    @hamzamushtaq7790 4 ปีที่แล้ว

    Brother how can i get note pad file.?

  • @bikashkalita4317
    @bikashkalita4317 4 หลายเดือนก่อน

    But i want it on Indian currency

  • @chhunsokheng1
    @chhunsokheng1 5 ปีที่แล้ว

    Number to text coz.
    How to find it?
    Can you tell me?

  • @chhunsokheng1
    @chhunsokheng1 5 ปีที่แล้ว

    Hi brother how to find it?
    (Text coz)

  • @Sayanerzee
    @Sayanerzee 2 ปีที่แล้ว

    Sir, where is the notepad??????

  • @mukeshkumar-ch6jg
    @mukeshkumar-ch6jg 4 ปีที่แล้ว

    ReDim place(9) As String line compile error can't find project or library in excel 2010

  • @saran2135
    @saran2135 4 ปีที่แล้ว

    Can you please share the notepad code again we r unable to view

  • @khimsoda843
    @khimsoda843 3 ปีที่แล้ว

    can you help me
    I can spell my language

  • @surajyadav-jk4ni
    @surajyadav-jk4ni 4 ปีที่แล้ว

    Can I get number to text notepad please

  • @satheeshraju716
    @satheeshraju716 2 ปีที่แล้ว

    how can convert dollars to rupees..

  • @filtrontechniques5488
    @filtrontechniques5488 4 ปีที่แล้ว

    sir....where is the notepad coding

  • @atharva6051
    @atharva6051 4 ปีที่แล้ว

    Where is the attachment

  • @sagarmicrosoftoffice1225
    @sagarmicrosoftoffice1225 ปีที่แล้ว

    I didn't get that notepad file

  • @finance_talks_with_shikha
    @finance_talks_with_shikha ปีที่แล้ว

    i couldn't fine the notepad file

  • @ankurpatni3332
    @ankurpatni3332 4 ปีที่แล้ว

    Where to find code file

  • @jaykukreja8600
    @jaykukreja8600 4 ปีที่แล้ว

    Not able to see any attachment

  • @akyb9x
    @akyb9x 4 ปีที่แล้ว

    where is the code in notepad file ?

  • @prakashpurohit4781
    @prakashpurohit4781 4 ปีที่แล้ว

    दो हज़ार तीन सौ एक कैसे लिखें ये हिंदी में भी करदे तो मज़ा आ जाये

  • @sanjeevthakur8910
    @sanjeevthakur8910 4 ปีที่แล้ว

    What you didnt tell how to convert Dollars to rupees..and cent to paise...