+ Reply to Thread
Results 1 to 4 of 4

VBA - string subtract

  1. #1
    Registered User
    Join Date
    12-11-2009
    Location
    Romania
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    9

    VBA - string subtract

    Hello

    I wonder how I can for example substract the string "value2" out of the string "value1 (value2)" after checking that the given string is in the correct format (it has the parantheses).

    Thanks

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: VBA - string substract

    How does this work for you:

    Please Login or Register  to view this content.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: VBA - string substract

    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  4. #4
    Registered User
    Join Date
    12-11-2009
    Location
    Romania
    MS-Off Ver
    Excel 2003, Excel 2007
    Posts
    9

    Re: VBA - string substract

    Thank you very much

    Here's what I've come with to meet my needs

    Please Login or Register  to view this content.

+ 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