LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Macro Help for Substrings

All,

I am looking to rid myself of extra information in a column, and doing
so in a Macro

Here is what I have in column A

SELECT Column1, Column2 From Mydb.Myspace.My table Where Column1 =
'Hello"

I want to frind the FROM word (There is only one in the cell) and
delete all to the Left including the from

Then Find the WHERE (If it exsists) and delete all to the Right
including the WHERE

And I would end up with column A

Mydb.Myspace.My table

I have several examples of removing single char or commas from the
column, but not entire words.

Any ideas?

Doug

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to apply parsing rules for strings and list the substrings Luciano Paulino da Silva Excel Worksheet Functions 25 May 3rd 09 11:53 AM
sum wrt substrings! via135 Excel Worksheet Functions 6 March 26th 06 07:06 PM
list unique substrings KD[_5_] Excel Programming 0 March 21st 06 09:01 PM
Substrings in Excel? mzafar Excel Discussion (Misc queries) 3 February 28th 06 06:55 PM
STRINGS AND SUBSTRINGS ! jay dean Excel Programming 3 December 29th 04 06:22 AM


All times are GMT +1. The time now is 05:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"