Convert Number to Words in Excel Bangladesh Taka (BDT)

How to Convert Number to Text in Excel Before writing his words as you type a number: 555 (in Word: Taka Five Hundred Fifty Five Only), but now you do not need to type to Ms Excel Automatic: Automatic whatever sum you can see what the other is a Cell :
Convert Number to Words in Excel Bangladesh Taka (BDT)



Excel Converter Number to Text In BDT Vdeo Tutorial



 


(Remember, this is only one (1) There will be 99 million baldness)
How to do:

So let's get started: Just Ms Excel. XP, 2002, 2003 for. (2007-2010'll try to write for a blog later.)


First you:


Now Create a new file, and then you have the Microsoft Visual Basic open the Alt + F11 press.


The Microsoft Visual Basic to the Insert menu point to Module Click.


Copy the following code after the Open Module to save.


 Option Explicit
'Main Function
Function SpellNumber(ByVal MyNumber)
    Dim Taka, Paisa, 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 Paisa and set MyNumber to Taka amount.
    If DecimalPlace > 0 Then
        Paisa = 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 Taka = Temp & Place(Count) & Taka
        If Len(MyNumber) > 3 Then
            MyNumber = Left(MyNumber, Len(MyNumber) - 3)
        Else
            MyNumber = ""
        End If
        Count = Count + 1
    Loop
    Select Case Taka
        Case ""
            Taka = "No Taka"
        Case "One"
            Taka = "One Taka"
         Case Else
            Taka = Taka & " Taka"
    End Select
    Select Case Paisa
        Case ""
            Paisa = " and No Paisa"
        Case "One"
            Paisa = " and One Paisa"
              Case Else
            Paisa = " and " & Paisa & " Paisa"
    End Select
    SpellNumber = Taka & Paisa
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
Convert Number to Words in Excel Bangladesh Taka (BDT) Convert Number to Words in Excel Bangladesh Taka (BDT) Reviewed by Unknown on 8:30:00 PM Rating: 5

11 comments:

  1. https://drive.google.com/open?id=1vvN1DIDumdMV5NWmwaXdhJLHEiwwHZqu

    ReplyDelete
  2. Copy Link & Past to the addressbar to download Spell Number Bangla....

    https://drive.google.com/open?id=1vvN1DIDumdMV5NWmwaXdhJLHEiwwHZqu

    ReplyDelete
    Replies
    1. how to find formula in excel for number convert in bangla
      5355.00
      পাঁচ হাজার তিন শত পঞ্চান্ন টাকা , pls send excel formula.

      Delete
  3. what shoul i write in excel formula to convert a number in word. TIA

    ReplyDelete
  4. I have get a problem. A sum of is 12093.916 (Twelve Thousand Ninety Three and ninety One Taka Only),MS Excel has Shown 12094 (Format menu has changed) but formula is not Read this amount 12094 in word. It shown the mentioning word. How it solved. Please Notify me.

    ReplyDelete
  5. I have get a problem. A sum of is 12093.916 (Twelve Thousand Ninety Three Taka and ninety One Paisa Only),MS Excel has Shown 12094 (Format menu has changed) but formula is not Read this amount 12094 in word. It shown the mentioning word. How it solved. Please Notify me.

    ReplyDelete
  6. hundred-thousand then lac ,core this format is not maintain

    ReplyDelete
  7. মাত্র লিখবো কি ভাবে

    ReplyDelete
  8. মনে করেন, আমার লিখতে হবে One Hundred only তার মানে কোন পয়সা নাই। কিভাবে লিখবো। দয়া করে জানাবেন

    ReplyDelete

Powered by Blogger.