Results 1 to 5 of 5
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    What's My Sign (XP; SR3)

    Does anyone know what type of symbol or VBA character is displayed in the picture below? The field is suppose to be 80 characters in length. It appears that the characters are some type of filler.

    Thanks,
    John

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: What's My Sign (XP; SR3)

    Use Debug.Print Asc(...) to see the ASCII/ANSI code for the first character in the string.

  3. #3
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: What's My Sign (XP; SR3)

    Hans,

    The first few characters are numbers say 7 in all and the remaining 73 are some other symbol. I can not determine what asc value it is.

    I wonder if they could be Null characters?

    I'm stumped.
    John

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: What's My Sign (XP; SR3)

    You can use Debug.Print Asc(Mid(..., 12, 1)) to see the ASCII value of the 12th character of the string.

    ASCII 7 is the "Bell" character; it doesn't correspond to a printable character.

    What is this variable used for and why do you need to know its contents?

  5. #5
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: What's My Sign (XP; SR3)

    Hans,

    Sure enough they are indeed Null characters. I used application.worksheetfunction.substitute(VariableN ame,vbNullChar,"").


    Thanks,
    John

Posting Permissions

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