Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Norm75
 
Posts: n/a
Default Find and Replace Technique to modify stock symbols.

I have a number of stock market symbols that I need to modify. For example, I
must change: AAA.UN to AAA-UN. For some I need to modify AAA.UN to AAA-UN.TO
.. In short, I simply want to change a period to a dash and for some add
period TO . Is there a way of developing a macro to do this or use the "Find
and Replace"? I don't want to retype all the symbols - chance of errors and
would take a very long time.

Any help here would be much appreciated.
Thanks. Norm.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

You could easily use Find and replace Ctrl-H to replace period by dash, and
probably to add -UNTO, if there is some set rule to direct you. That would
also be needed if you were to use VBA.

--
HTH

Bob Phillips

"Norm75" wrote in message
...
I have a number of stock market symbols that I need to modify. For

example, I
must change: AAA.UN to AAA-UN. For some I need to modify AAA.UN to

AAA-UN.TO
. In short, I simply want to change a period to a dash and for some add
period TO . Is there a way of developing a macro to do this or use the

"Find
and Replace"? I don't want to retype all the symbols - chance of errors

and
would take a very long time.

Any help here would be much appreciated.
Thanks. Norm.



  #3   Report Post  
Norm75
 
Posts: n/a
Default

Thanks, Bob very much. It all worked - as you will gather, I am a bit of a
newby. However, if I want to simply add on .TO to say, AAA , BBB, RY, etc. I
am having trouble. I don't have a common - or . Is there a way of adding
only?

Many thanks. Norm.

"Bob Phillips" wrote:

You could easily use Find and replace Ctrl-H to replace period by dash, and
probably to add -UNTO, if there is some set rule to direct you. That would
also be needed if you were to use VBA.

--
HTH

Bob Phillips

"Norm75" wrote in message
...
I have a number of stock market symbols that I need to modify. For

example, I
must change: AAA.UN to AAA-UN. For some I need to modify AAA.UN to

AAA-UN.TO
. In short, I simply want to change a period to a dash and for some add
period TO . Is there a way of developing a macro to do this or use the

"Find
and Replace"? I don't want to retype all the symbols - chance of errors

and
would take a very long time.

Any help here would be much appreciated.
Thanks. Norm.




Reply
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
find and replace steve Excel Discussion (Misc queries) 1 June 23rd 05 01:43 AM
Find and REPLACE within a selection, or column- not entire sheet/. smithers2002 Excel Worksheet Functions 4 April 21st 05 04:45 PM
find replace cursor default to find box luffa Excel Discussion (Misc queries) 0 February 3rd 05 12:11 AM
How Can I find and replace symbols in excel data ( white square) alawhizkid Excel Discussion (Misc queries) 1 December 14th 04 10:44 PM
VB Find and Replace Bony_Pony Excel Worksheet Functions 10 December 6th 04 05:45 PM


All times are GMT +1. The time now is 09:22 AM.

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

About Us

"It's about Microsoft Excel"