+ Reply to Thread
Results 1 to 2 of 2

solved problem

  1. #1
    claude
    Guest

    solved problem

    number in general format was okay the issue is the number had a space
    seperation in thousand place i removed this by edit and replace and viola it
    worked!

  2. #2
    Marcelo
    Guest

    RE: solved problem

    Hi Claude,

    try to use the UDF

    and use a function =digitsonly(a2)

    *********************************
    Public Function DigitsOnly(sStr As String) As Variant
    Dim oRegExp As Object

    Set oRegExp = CreateObject("VBScript.RegExp")

    With oRegExp
    .IgnoreCase = True
    .Global = True
    oRegExp.Pattern = "\D"

    DigitsOnly = oRegExp.Replace(sStr, vbNullString)
    End With
    End Function
    **********************************************

    hth
    regards from Brazil
    Marcelo


    "claude" escreveu:

    > number in general format was okay the issue is the number had a space
    > seperation in thousand place i removed this by edit and replace and viola it
    > worked!


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1