{"id":16910,"date":"2022-10-22T13:15:17","date_gmt":"2022-10-22T07:45:17","guid":{"rendered":"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/"},"modified":"2022-10-22T13:15:17","modified_gmt":"2022-10-22T07:45:17","slug":"solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/","title":{"rendered":"[Solved] VB-Macros to split two strings and insert them as a new row and trim function"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div id=\"answer-24660496\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"24660496\" data-parentid=\"24656309\" data-score=\"0\" data-position-on-page=\"1\" data-highest-scored=\"1\" data-question-has-accepted-highest-score=\"1\" itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<div class=\"post-layout\">\n<div class=\"votecell post-layout--left\"><\/div>\n<div class=\"answercell post-layout--right\">\n<div class=\"s-prose js-post-body\" itemprop=\"text\">\n<p>Here is one of the solutions:<\/p>\n<p>Prerequisites: Sheet1 contains original data (track# in column A, data to split in column B and comment\/date in column C), Sheet2 will contain processed data.<\/p>\n<p>Hope that helps.<\/p>\n<p>The code (click Alt+F11, click Insert\/Module, paste the code in the inserted module):<\/p>\n<pre><code>Sub test()\nDim a As String, g As String, k As String, l As String\nDim b As Long, c As Long, d As Integer, e As Integer, f As Long, h As Integer, i As Integer, j As Long\nb = 1\nj = 1\n\nWhile IsEmpty(Sheet1.Range(\"A\" &amp; b)) = False 'does not check if exceeding excel row limit\n b = b + 1\nWend\n\nFor c = 1 To b 'Or \"2 to b\" if data has headers (if first row contains column names)\n    a = Sheet1.Range(\"B\" &amp; c) 'If column B contains the data to split\n    k = Sheet1.Range(\"A\" &amp; c) 'network #\n    l = Sheet1.Range(\"C\" &amp; c) 'date or comment\n    d = Len(a)\n    h = 0\n    For e = 1 To d\n        If Mid(a, e, 1) = \",\" Or e = d Then\n            If h = 0 Then\n                If e = d Then\n                    i = e\n                Else\n                    i = e - 1\n                End If\n                g = Mid(a, 1, i)\n                While IsEmpty(Sheet2.Range(\"B\" &amp; j)) = False 'does not check if exceeding excel row limit\n                    j = j + 1\n                Wend\n                Sheet2.Range(\"A\" &amp; j) = k\n                Sheet2.Range(\"B\" &amp; j) = g\n                Sheet2.Range(\"C\" &amp; j) = l\n            Else\n                If e = d Then\n                    g = Mid(a, i + 2, e - i - 1)\n                Else\n                    g = Mid(a, i + 2, e - i - 2)\n                End If\n                While IsEmpty(Sheet2.Range(\"B\" &amp; j)) = False 'does not check if exceeding excel row limit\n                    j = j + 1\n                Wend\n                Sheet2.Range(\"A\" &amp; j) = k\n                Sheet2.Range(\"B\" &amp; j) = g\n                Sheet2.Range(\"C\" &amp; j) = l\n\n                i = e - 1\n\n            End If\n            h = 1\n        End If\n    Next e\nNext c\n\nDim m As Long, o As Integer\nm = 1 'Or 2 if top row contains headings\nDim n As String\nWhile IsEmpty(Sheet2.Range(\"B\" &amp; m)) = False\n    Sheet2.Range(\"B\" &amp; m) = Trim(Sheet2.Range(\"B\" &amp; m)) 'trim\n    n = Sheet2.Range(\"B\" &amp; m)\n    For o = 1 To Len(n)\n        If Mid(n, o, 1) = \" \" Then n = Left(n, 1) &amp; Right(n, Len(n) - 2) 'remove single space\n    Next o\n    Sheet2.Range(\"B\" &amp; m) = n\n    m = m + 1\nWend\n\nEnd Sub\n<\/code><\/pre>\n<p>Try this code (Update according to the comments):<\/p>\n<pre><code>Sub test()\n\nDim srow As Integer\n\nsrow = MsgBox(\"Does the first row contain data headers (column names)?\", vbYesNo + vbQuestion, \"First row selection\")\nIf srow = 6 Then\n    srow = srow - 4\nElse\n    srow = srow - 6\nEnd If\n\nDim a As String, g As String, k(16383) As String, l(16383) As String\nDim b As Long, c As Long, d As Integer, e As Integer, f As Long, h As Integer, i As Integer, j As Long\nb = srow\nj = srow\n\nWhile IsEmpty(Sheet1.Range(\"A\" &amp; b)) = False And b &lt; 1048576\n    b = b + 1\nWend\n\nb = b - 1\n\nIf srow &gt; b Then MsgBox \"No entries to analyze!\", vbInformation, \"Attention!\": Exit Sub\n\nDim spli As String\n\nINPU:\nspli = InputBox(\"Please, enter the Letter of the column, which contains the data to split\", \"Define split column\")\n\nIf Len(spli) &gt; 3 Or Len(spli) &lt; 1 Then MsgBox \"Please, enter a valid Letter of a column\", vbCritical + vbOKOnly, \"Error!\": GoTo INPU\n\nDim letc As Integer\n\nFor letc = 65 To 122\n    If letc &lt;&gt; 91 And letc &lt;&gt; 92 And letc &lt;&gt; 93 And letc &lt;&gt; 94 And letc &lt;&gt; 95 And letc &lt;&gt; 96 Then\n        If Left(spli, 1) = Chr(letc) Then Exit For\n        If letc = 122 And Left(spli, 1) &lt;&gt; Chr(letc) Then MsgBox \"Please, enter a valid Letter of a column\", vbCritical + vbOKOnly, \"Error!\": GoTo INPU\n    End If\nNext letc\n\nIf Len(spli) &gt; 1 Then\n    For letc = 65 To 122\n        If letc &lt;&gt; 91 And letc &lt;&gt; 92 And letc &lt;&gt; 93 And letc &lt;&gt; 94 And letc &lt;&gt; 95 And letc &lt;&gt; 96 Then\n            If Mid(spli, 2, 1) = Chr(letc) Then Exit For\n            If letc = 122 And Mid(spli, 2, 1) &lt;&gt; Chr(letc) Then MsgBox \"Please, enter a valid Letter of a column\", vbCritical + vbOKOnly, \"Error!\": GoTo INPU\n        End If\n    Next letc\nEnd If\n\nIf Len(spli) = 3 Then\n    For letc = 65 To 122\n        If letc &lt;&gt; 91 And letc &lt;&gt; 92 And letc &lt;&gt; 93 And letc &lt;&gt; 94 And letc &lt;&gt; 95 And letc &lt;&gt; 96 Then\n            If Right(spli, 1) = Chr(letc) Then Exit For\n            If letc = 122 And Right(spli, 1) &lt;&gt; Chr(letc) Then MsgBox \"Please, enter a valid Letter of a column\", vbCritical + vbOKOnly, \"Error!\": GoTo INPU\n        End If\n    Next letc\n\n    If Left(spli, 1) = \"Y\" Or Left(spli, 1) = \"Z\" Or Left(spli, 1) = \"y\" Or Left(spli, 1) = \"z\" Then\n        MsgBox \"Please, enter a valid Letter of a column\", vbCritical + vbOKOnly, \"Error!\": GoTo INPU\n    End If\n    If Left(spli, 1) = \"X\" Or Left(spli, 1) = \"x\" Then\n        If Asc(Mid(spli, 2, 1)) &lt; 65 Or (Asc(Mid(spli, 2, 1)) &gt; 70 And Asc(Mid(spli, 2, 1)) &lt; 97) Or Asc(Mid(spli, 2, 1)) &gt; 102 Then\n            MsgBox \"Please, enter a valid Letter of a column\", vbCritical + vbOKOnly, \"Error!\": GoTo INPU\n        End If\n        If Mid(spli, 2, 1) = \"F\" Or Mid(spli, 2, 1) = \"f\" Then\n            If Asc(Right(spli, 1)) &lt; 65 Or (Asc(Right(spli, 1)) &gt; 68 And Asc(Right(spli, 1)) &lt; 97) Or Asc(Right(spli, 1)) &gt; 100 Then\n                MsgBox \"Please, enter a valid Letter of a column\", vbCritical + vbOKOnly, \"Error!\": GoTo INPU\n            End If\n        End If\n    End If\nEnd If\n\nDim coll As Long, colr As Long, coun As Long\n\nRECL:\ncoll = InputBox(\"How many columns to the left of the split data column would you like to copy?\", \"Left Columns\")\n\nIf Sheet1.Range(spli &amp; srow).Column - coll &lt; 1 Then\n    MsgBox \"Wrong number of columns indicated\", vbExclamation + vbOKOnly, \"Error!\"\n    GoTo RECL\nEnd If\n\nRECR:\ncolr = InputBox(\"How many columns to the right of the split data column would you like to copy?\", \"Right Columns\")\n\nIf Sheet1.Range(spli &amp; srow).Column + colr &gt; 16384 Then\n    MsgBox \"Wrong number of columns indicated\", vbExclamation + vbOKOnly, \"Error!\"\n    GoTo RECR\nEnd If\n\nFor c = srow To b\n    a = Sheet1.Range(spli &amp; c)\n    For coun = 0 To coll - 1\n        k(coun) = Sheet1.Cells(c, Sheet1.Range(spli &amp; c).Column - 1 - coun)\n    Next coun\n    For coun = 0 To colr - 1\n        l(coun) = Sheet1.Cells(c, Sheet1.Range(spli &amp; c).Column + 1 + coun)\n    Next coun\n\n    d = Len(a)\n    h = 0\n    For e = 1 To d\n        If Mid(a, e, 1) = \",\" Or Mid(a, e, 1) = \"https:\/\/stackoverflow.com\/\" Or e = d Then\n            If h = 0 Then\n                If e = d Then\n                    i = e\n                Else\n                    i = e - 1\n                End If\n                g = Mid(a, 1, i)\n                While IsEmpty(Sheet2.Range(spli &amp; j)) = False And j &lt; 1048576\n                    j = j + 1\n                Wend\n                For coun = 0 To coll - 1\n                     Sheet2.Cells(j, Sheet1.Range(spli &amp; c).Column - 1 - coun) = k(coun)\n                Next coun\n                Sheet2.Range(spli &amp; j) = g\n                For coun = 0 To colr - 1\n                     Sheet2.Cells(j, Sheet1.Range(spli &amp; c).Column + 1 + coun) = l(coun)\n                Next coun\n            Else\n                If e = d Then\n                    g = Mid(a, i + 2, e - i - 1)\n                Else\n                    g = Mid(a, i + 2, e - i - 2)\n                End If\n                While IsEmpty(Sheet2.Range(spli &amp; j)) = False And j &lt; 1048576\n                    j = j + 1\n                Wend\n                For coun = 0 To coll - 1\n                     Sheet2.Cells(j, Sheet1.Range(spli &amp; c).Column - 1 - coun) = k(coun)\n                Next coun\n                Sheet2.Range(spli &amp; j) = g\n                For coun = 0 To colr - 1\n                     Sheet2.Cells(j, Sheet1.Range(spli &amp; c).Column + 1 + coun) = l(coun)\n                Next coun\n\n                i = e - 1\n\n            End If\n            h = 1\n        End If\n    Next e\nNext c\n\nDim m As Long, o As Integer\nm = srow\nDim n As String\nWhile IsEmpty(Sheet2.Range(spli &amp; m)) = False\n    Sheet2.Range(spli &amp; m) = Trim(Sheet2.Range(spli &amp; m)) 'trim\n    n = Sheet2.Range(spli &amp; m)\n    For o = 1 To Len(n)\n        If Mid(n, o, 1) = \" \" Then n = Left(n, 1) &amp; Right(n, Len(n) - 2) 'remove single space\n    Next o\n    Sheet2.Range(spli &amp; m) = n\n    m = m + 1\nWend\n\nEnd Sub\n<\/code><\/pre>\n<\/p><\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p>            <span class=\"d-none\" itemprop=\"commentCount\">13<\/span> <\/p><\/div>\n<\/div>\n<p>[ad_2]<\/p>\n<p>solved VB-Macros to split two strings and insert them as a new row and trim function <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] Here is one of the solutions: Prerequisites: Sheet1 contains original data (track# in column A, data to split in column B and comment\/date in column C), Sheet2 will contain processed data. Hope that helps. The code (click Alt+F11, click Insert\/Module, paste the code in the inserted module): Sub test() Dim a As String, g &#8230; <a title=\"[Solved] VB-Macros to split two strings and insert them as a new row and trim function\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/\" aria-label=\"More on [Solved] VB-Macros to split two strings and insert them as a new row and trim function\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320],"tags":[400,401],"class_list":["post-16910","post","type-post","status-publish","format-standard","hentry","category-solved","tag-excel","tag-vba"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Solved] VB-Macros to split two strings and insert them as a new row and trim function - JassWeb<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] VB-Macros to split two strings and insert them as a new row and trim function - JassWeb\" \/>\n<meta property=\"og:description\" content=\"[ad_1] Here is one of the solutions: Prerequisites: Sheet1 contains original data (track# in column A, data to split in column B and comment\/date in column C), Sheet2 will contain processed data. Hope that helps. The code (click Alt+F11, click Insert\/Module, paste the code in the inserted module): Sub test() Dim a As String, g ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-22T07:45:17+00:00\" \/>\n<meta name=\"author\" content=\"Kirat\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirat\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] VB-Macros to split two strings and insert them as a new row and trim function\",\"datePublished\":\"2022-10-22T07:45:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/\"},\"wordCount\":92,\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"keywords\":[\"excel\",\"vba\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/\",\"url\":\"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/\",\"name\":\"[Solved] VB-Macros to split two strings and insert them as a new row and trim function - JassWeb\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#website\"},\"datePublished\":\"2022-10-22T07:45:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jassweb.com\/solved\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] VB-Macros to split two strings and insert them as a new row and trim function\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jassweb.com\/solved\/#website\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"name\":\"JassWeb\",\"description\":\"Build High-quality Websites\",\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jassweb.com\/solved\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\",\"name\":\"Jass Web\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"contentUrl\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"width\":693,\"height\":132,\"caption\":\"Jass Web\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\",\"name\":\"Kirat\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775798750\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775798750\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\/\/jassweb.com\"],\"url\":\"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] VB-Macros to split two strings and insert them as a new row and trim function - JassWeb","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] VB-Macros to split two strings and insert them as a new row and trim function - JassWeb","og_description":"[ad_1] Here is one of the solutions: Prerequisites: Sheet1 contains original data (track# in column A, data to split in column B and comment\/date in column C), Sheet2 will contain processed data. Hope that helps. The code (click Alt+F11, click Insert\/Module, paste the code in the inserted module): Sub test() Dim a As String, g ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/","og_site_name":"JassWeb","article_published_time":"2022-10-22T07:45:17+00:00","author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] VB-Macros to split two strings and insert them as a new row and trim function","datePublished":"2022-10-22T07:45:17+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/"},"wordCount":92,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"keywords":["excel","vba"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/","url":"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/","name":"[Solved] VB-Macros to split two strings and insert them as a new row and trim function - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"datePublished":"2022-10-22T07:45:17+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-vb-macros-to-split-two-strings-and-insert-them-as-a-new-row-and-trim-function\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] VB-Macros to split two strings and insert them as a new row and trim function"}]},{"@type":"WebSite","@id":"https:\/\/jassweb.com\/solved\/#website","url":"https:\/\/jassweb.com\/solved\/","name":"JassWeb","description":"Build High-quality Websites","publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jassweb.com\/solved\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jassweb.com\/solved\/#organization","name":"Jass Web","url":"https:\/\/jassweb.com\/solved\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/","url":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","contentUrl":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","width":693,"height":132,"caption":"Jass Web"},"image":{"@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31","name":"Kirat","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775798750","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775798750","caption":"Kirat"},"sameAs":["http:\/\/jassweb.com"],"url":"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/16910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/comments?post=16910"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/16910\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=16910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=16910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=16910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}