How do I change 0 to a 0 with an oblique line through it.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Daniel41
    New Member
    • Sep 2013
    • 1

    How do I change 0 to a 0 with an oblique line through it.

    This is to make it more distinguishable between a zero and an O.
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Switch to a font that does that.

    Comment

    • ADezii
      Recognized Expert Expert
      • Apr 2006
      • 8834

      #3
      If you want to get a little fancy, try:
      Code:
      Dim strBaseString As String
      
      strBaseString = "00022377690870055431000HGRT0410"
      Debug.Print Replace(strBaseString, "0", Chr$(216))
      which will produce:
      Code:
      ØØØ2237769Ø87ØØ55431ØØØHGRTØ41Ø

      Comment

      • zmbd
        Recognized Expert Moderator Expert
        • Mar 2012
        • 5501

        #4
        just keep in mind that the "value" returned by ADezii is a STRING and not a NUMERIC
        (I know it seems obvious (-,-) )

        Comment

        Working...