Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 01-13-2021, 03:45 PM
gmaxey gmaxey is offline Macro to extract CCIs as separate entries when part of a text string Windows 10 Macro to extract CCIs as separate entries when part of a text string Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,636
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Cray,


If you really wanted to noodle all of that out, I think your best bet might be to go back to what you had and then work to refine the resulting table.




So if you have row

(CCI: 123, 345, 333)
Process that to create two new rows under it and fill as:
123
345
333


If you have a row:
(CCI 012-116)
Process that to create four new rows under the first row and fill rows
012
013
014
015
016


All the other data in the original rows should stay the same.


Then just find and replace any remaining (CCI: and ) in the table with nothing.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to extract CCIs as separate entries when part of a text string Extract Bold text from string one4youman Word VBA 8 04-18-2019 12:31 AM
Formula to Extract text from a text string Haha88 Excel 2 11-14-2017 01:32 AM
Macro to extract CCIs as separate entries when part of a text string Extract text from a text string Haha88 Excel 8 02-13-2017 05:06 PM
Extract numbers from a text string aleale97 Excel 4 02-10-2011 10:33 AM
Extract from String using Wildcard whousedmy Word 0 05-21-2009 01:35 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:16 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