Community discussion forum

Speech Marks Round Strings

  • 8 months ago

    I am using VBA to output data from a spreadsheet into another file. It works fine except that strings are shown with speech marks front and back and I don't want them.

    Does anyone know how I can lose these?

    Thanks 

    Kit

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 7 months ago

    You can try removing them from the string.

    The Inverted Comma is Chr(34)

    Try

    sString = Replace(sString, Chr(34), "")

     

Post a reply

Enter your message below

Sign in or Join us (it's free).