About 29,200,000 results
Open links in new tab
  1. excel - How to get a particular part of a String - Stack Overflow

    Jul 9, 2018 · You can do this using the InStr and Mid functions. Use the InStr function to find the occurrences of the / and then use Mid to get the part of the string that you are interested in. …

  2. How to Extract Substring using VBA Functions? - WallStreetMojo

    May 21, 2019 · Guide to VBA Substring. We learn how to extract substring using Left, Right & Instr VBA function with examples & downloadable excel template.

  3. VB.NET - String Substring Examples - Dot Net Perls

    Feb 16, 2024 · This VB.NET function gets parts of a String. It receives 2 arguments—these indicate the start index, and the length, of the character data. This String function returns a …

  4. VB.NET Substring Method with EXAMPLE - Guru99

    Sep 26, 2024 · The substring function is used to obtain a part of a specified string. This method is defined in the String class of Microsoft VB.NET. You have to specify the start index from which …

  5. VBA Substring – How to Substring in Excel Macro - Excel Trick

    Aug 11, 2023 · There are multiple VBA Substring functions. In practical situations, these substring functions can be quite useful in extracting a portion of a string. Today in this post I am going to …

  6. How to Extract Certain Text from a Cell in Excel VBA: 5 Codes

    May 20, 2024 · Method 3 – Use VBA Mid Function to Extract Text from the Middle of an Excel Cell. Step 1: Press Alt+F11 and enter a new VBA command module. Write the following VBA …

  7. Extract text before and after specific character with VBA

    Dec 21, 2016 · Do you need to use VBA? Formula in B2: =LEFT(A2,FIND("-",A2,1)-1) Formula in C2: =MID(A2,FIND("-",A2,1)+1,999) But if you want to use VBA Sub extract() Dim r As Long, …

  8. substring and return the value after a specific character

    Jun 21, 2012 · To use SubString, try this: Don't use Split if your original string has more than one ":" or you'll only get back what's between the first to the second ":". you can use the split …

  9. How to Easily Extract From Any String Without Using VBA InStr

    Aug 18, 2015 · In this post, I’m going to show you a better way to extract values from a string than using then VBA InStr function with Left, Right or Mid. This post is broken down as follows. …

  10. [RESOLVED] Extracting part of a string-VBForums

    Dec 2, 2005 · How do you extract part of a string? I.e. [code] Dim LongString as string Dim ShortString as String LongString = "iounfdhvg9oi35ih7ns98ohf9h0p8hef" <Code to take the …

Refresh