Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-24-2018, 08:16 AM
NoSparks NoSparks is offline Extract States from a String Windows 7 64bit Extract States from a String Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

Sub in attached is commented line by line, hopefully makes sense.


Comment out or remove the lines of the result you don't want.

Hope that helps.
Attached Files
File Type: xlsm soldat452002.xlsm (18.8 KB, 22 views)
Reply With Quote
  #2  
Old 04-24-2018, 09:11 AM
soldat452002 soldat452002 is offline Extract States from a String Windows 7 64bit Extract States from a String Office 2010 64bit
Novice
Extract States from a String
 
Join Date: Apr 2018
Location: Los Angeles
Posts: 6
soldat452002 is on a distinguished road
Default

Okay thanks.

Im assuming I need to change this to my spreadsheet location.

MsgBox arr(UBound(arr))
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract States from a String Extract a string from a paragraph kirkm Word VBA 7 09-11-2016 06:13 PM
How to extract only numbers from a STRING? Learner7 Excel 3 07-02-2013 06:25 AM
Extract States from a String Extract Numbers from Alphanumeric String OTPM Excel 6 05-13-2011 12:52 AM
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 10:57 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