Results 1 to 24 of 24

Thread: [Semi-Resolved] MS Excel 2007: Get text after last "/"

  1. #1

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Arrow [Semi-Resolved] MS Excel 2007: Get text after last "/"

    Hello everyone, I am trying to see if I can get the text after the last instance of "/" inside of a text without having to use VBA... Is there a way to do this?

    Thank you
    Last edited by Tec-Nico; Jan 13th, 2007 at 03:47 PM. Reason: Thread got "Semi-Resolved"...
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: MS Excel 2007: Get text after last "/"

    you can use =RIGHT(D21,LEN(D21)-FIND("\",D21)) where D21 is the cell with the text
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: MS Excel 2007: Get text after last "/"

    Thank you for your response... I tried the formula you provided me but it returns the text after the first occurence of "/"

    For example, in the following string:
    "http://www.website.com/subsite/file.htm"

    It will return "/www.website.com/subsite/file.htm" instead of "file.htm"

    I know Excel is powerful by itself and I already have a macro that gets this part... I just want to know if there is a way using simple functions to achieve this.

    Find and Search were good candidates for achieving this but I haven't found a way to do this, I will appreciate your further assistance.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  4. #4
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: MS Excel 2007: Get text after last "/"

    For example, in the following string:
    "http://www.website.com/subsite/file.htm"

    It will return "/www.website.com/subsite/file.htm" instead of "file.htm"
    Try this..

    VB Code:
    1. Private Sub CommandButton1_Click()
    2. String = "http://www.website.com/subsite/file.htm"
    3. temp = ""
    4. For i = Len(String) To 1 Step -1 'ensure search takes from the end of string
    5.      'Searching the string
    6.      If Mid(String, i, 1) <> "\" Then
    7.          temp = Mid(String, i, 1) + temp
    8.      Else
    9.          'exit if "\" found
    10.          Exit For
    11.      End If
    12. Next i
    13.  
    14. 'This will give you "file.htm"
    15. MsgBox temp
    16.  
    17. End Sub

    Hope this helps...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  5. #5
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: MS Excel 2007: Get text after last "/"

    Hi

    If you want it as a function then paste this in a module

    'Your very own function

    VB Code:
    1. Private Function TeckNico(str1 As String)
    2.  
    3. Dim temp As String
    4. Dim i As Integer
    5.  
    6. temp1 = Trim(str1)
    7. temp = ""
    8.  
    9. For i = Len(temp1) To 1 Step -1
    10.     If Mid(temp1, i, 1) <> "\" Then
    11.         temp = Mid(temp1, i, 1) + temp
    12.     Else
    13.         Exit For
    14.     End If
    15. Next i
    16.  
    17. TeckNico = temp
    18.  
    19. End Function

    If Cell A1 = "http://www.website.com/subsite/file.htm"
    enter this formula in say Cell C2

    =TeckNico(A1)

    The result...
    "file.htm"

    Hope this helps...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: MS Excel 2007: Get text after last "/"

    @koolsid, he posted that he didnt want to use VBA code.

    You may not be able to do this just as a formula since there is no InstrRev formula function and that would require a loop to get the last instance of the forward slash character.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: MS Excel 2007: Get text after last "/"

    @koolsid, he posted that he didnt want to use VBA code.
    i do agree that he doesn't have to use VBA code so i created a function for him...

    like you correctly said
    there is no InstrRev formula function and that would require a loop to get the last instance of the forward slash character.
    also there is no function which will reverse the text for example "abc/def/ghi" to "ihg/fed/cba" so that we could have used westconn's function...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  8. #8

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: MS Excel 2007: Get text after last "/"

    Thanks, Koolsid and Rob.

    Just as Rob pointed, I wanted to avoid using VBA and was hoping to see if there was a way to do it without it... Nevertheless, thank you for your time and effort.

    This is the code I am using in case any of you were interested:

    VB Code:
    1. Private Function getShortName(strName As String) As String
    2.  Dim iLastIndex As Integer, t As Integer
    3.  
    4.  iLastIndex = 0
    5.  t = InStr(iLastIndex + 1, strName, "/")
    6.  
    7.  Do While t > 0
    8.    iLastIndex = t
    9.    t = InStr(iLastIndex + 1, strName, "/")
    10.  Loop
    11.  
    12.  getShortName = Mid$(strName, iLastIndex + 1)
    13. End Function

    Added: Using it as a function directly on the Cell would not work if the Macros are disabled anyway, right?
    Last edited by Tec-Nico; Jan 12th, 2007 at 08:35 PM. Reason: Added comment
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  9. #9
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: MS Excel 2007: Get text after last "/"

    it can be done using nested finds within if statements, the code below will return the second instance of \ if it exists

    =RIGHT(D21,LEN(D21)-IF(ISERROR(FIND("\",D21,FIND("\",D21)+1)),FIND("\",D21)+1,FIND("\",D21,FIND("\",D21)+1)))


    you would have to nest for all possible occurances of \ (very messy)
    unfortunately find returns an error if the find string is not found, unlike InStr which returns 0, so find should always be used within an if satatement otherwise an error will occur if there is no instance of the find string
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  10. #10
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: MS Excel 2007: Get text after last "/"

    But then you are also limited to 7 levels of nesting as its Excel's limit. If the string has more occurances of the forward slash then it will not return the proper string needed.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  11. #11

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: MS Excel 2007: Get text after last "/"

    Nice discussion we are having here about Excel's capabilities for something like this... Don't you agree?

    Rob is right about the levels, you never know if there might be more than 7 nested "/" and since we can't control that and is really important to get only the name without the path since that "nickname" is used for more complex operations.

    I am still wondering if using the function approach will provide to be useless in a Macro disabled Excel document... I think the most probable answer is "yes, it will be". However, it is worth thinking about it.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  12. #12
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: MS Excel 2007: Get text after last "/"

    there is an option to trust all installed addins and templates, in the security settings, maybe that will work for you

    you can shorten your function down to one line
    VB Code:
    1. Function myfilename(cel As Range) As String
    2. myfilename = Right(cel, Len(cel) - InStrRev(cel, "\"))
    3. End Function
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  13. #13
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: MS Excel 2007: Get text after last "/"

    This is what I almost posted before until I realized the real issue.
    VB Code:
    1. Dim str As String
    2. str = "http://www.website.com/subsite/file.htm"
    3. MsgBox (Mid$(str, InStrRev(str, "/") + 1)) 'file.htm
    You can get e Digital Cert for about $100 for non-private use to sign your workbook with. This will aid in allowing the macros to run with out the prompt to enable macros, or optionally added together with an AddIn or just checking the box to Trust the addin.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  14. #14

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: MS Excel 2007: Get text after last "/"

    Thank you, Rob and westconn. I really appreciate your advice, the file would be used inside our own company but some people would prefer to receive a macro-less document instead... Some of the business users would not be happy having to change their Macros' settings either.

    However, I think I will keep Rob's code for the function and will try to just execute it once before publishing the Excel Sheet.

    Thanks again.

    I just wonder if I should add "Resolved" to this thread even when there is no solution doing it without VBA.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  15. #15
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: MS Excel 2007: Get text after last "/"

    You could label it [Semi-Resolved] That will note its got some kind of solution but may be still wanting other input.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  16. #16
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: MS Excel 2007: Get text after last "/"

    Hi

    If you are still interested here is a shorter code

    paste this in a module

    VB Code:
    1. Function reverse(str1 As String) As String
    2.  
    3.     reverse = StrReverse(str1)
    4.  
    5. End Function

    use this formula

    =reverse(LEFT(reverse(A2),FIND("/",reverse(A2),1)-1))

    where cell A2="http://www.website.com/subsite/file.htm"
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  17. #17
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: MS Excel 2007: Get text after last "/"

    No thats longer as you will have to use a longer formula. Mine can be done with just this call to the function passing the cell reference.
    VB Code:
    1. 'Formula for the cell
    2. =MyFind(B1)
    3.  
    4. 'VBA Module code
    5. Public Function MyFind(MyCell As Range)
    6.     MyFind = (Mid$(MyCell, InStrRev(MyCell, "/") + 1))
    7. End Function
    Then if you want to get fancy you can add error trapping in case the cell doesnt contain any forward slashes.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  18. #18

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: [Semi-Resolved] MS Excel 2007: Get text after last "/"

    Thank you all for taking your time to help me. I have labeled the Thread "[Semi-Resolved]" but still feel satisfied with all your comments, code and inputs.

    Rob: It is nice to see you again and glad to see all those titles you have, you deserve them. Hope to see you around the forums now that I am back to the r&d arena.

    KoolSid: You have nice ideas and even made me think of new possibilities in other areas that might not be related to this, thanks.

    WestConn: You provided the closest one to do it with pure Excel, thank you for your formulas.

    See you around guys, oh... Anyone has experience with Word's QuickParts? and is this the correct forum to ask about them since they don't imply any VBA coding at all?
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  19. #19
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: [Semi-Resolved] MS Excel 2007: Get text after last "/"

    as this is office development now, not vba i don't see why this is not the right forum, but i don't know the term QuickParts
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  20. #20

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: [Semi-Resolved] MS Excel 2007: Get text after last "/"

    Thanks, WestConn. QuickParts is a new concept added in Word 2007 where you can store parts of your document in a library and then insert them later (Simple version of it, I know... ).
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  21. #21
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [Semi-Resolved] MS Excel 2007: Get text after last "/"

    It would probably be good to start a new thread on QuickParts.

    wdTypeQuickParts is new for Word 2007. Its a WdBuildingBlockTypes object. I couldnt find anything in Word 2007 help file or the Online help. Tried searching WdBuildingBlockTypes too. Nothing on Google that is related to Word either.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  22. #22

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: [Semi-Resolved] MS Excel 2007: Get text after last "/"

    I know, I just wondered if it was the right forum before posting that thread. And again, you are right: There is very little documentation about it and that's the reason I would like to ask if anyone has played around with them.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  23. #23
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: [Semi-Resolved] MS Excel 2007: Get text after last "/"

    I havent had too much time to play for a long time but been changing that lately. I didnt try a MS KB search though.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  24. #24

    Thread Starter
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192

    Re: [Semi-Resolved] MS Excel 2007: Get text after last "/"

    Thanks, Rob. I just started a new Thread about QuickParts: Word 2007 QuickParts and AutoNumbering

    Oh, and I had a question regarding a FAQ element you added but didn't know if it was right to reply there and ask the question or to post a new thread about it, so I opted for the thread:
    How to use .NET to make an Add-In for an Office Application.. That isn't in the list?
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

Posting Permissions

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



Click Here to Expand Forum to Full Width