Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-28-2018, 07:36 PM
Kenneth Hobson Kenneth Hobson is offline Need excel VBA to add xml tags Windows 10 Need excel VBA to add xml tags Office 2016
Advanced Beginner
 
Join Date: Jun 2018
Posts: 37
Kenneth Hobson is on a distinguished road
Default

Code:
'=ParseCDD(J5)
Function ParseCDD(c As Range) As String
  Dim r As Range, a, i As Long
  a = Split(c, ",")
  For i = 0 To UBound(a)
    a(i) = "<categ no = " & """" & a(i) & """" & "/>"
  Next i
  ParseCDD = Join(a, vbNullString)
End Function
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to copy texts from excel and paste in to the Notepad++ in between the particular tags ganesang Word VBA 2 08-27-2018 02:05 AM
Updating old Tags caz46 OneNote 0 01-10-2017 04:19 AM
Is there a way to remove ALL Tags from a notebook? TheDm OneNote 0 08-25-2016 04:11 AM
Exporting Custom tags to PDF lervein PowerPoint 0 09-16-2014 08:55 AM
Need excel VBA to add xml tags For Moderator: Code tags? Ulodesk Forum Support 1 07-12-2011 07:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft