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: 1
Default Macro confusion


I'm in the midst of playing with Macros for the first time and hav
finding myself getting hopelessly lost.

What I'm attempting to do is create a macro that will replace a valu
in a spreadsheet that I'm using to keep customer records. I'll give
brief example:

In Cell A1, I'll have the number 12345, and in cell B1 will be the nam
Mr Smith. The number 12345 correlates specifically to the name Mr Smith
I want to change that from Mr Smith, to Mr A. Smith, because there ar
too many double ups with the name Smith.

Now, what I want to be able to do is create a macro that will be abl
to look for every instance of the number 12345, and change the value i
the cell to it's immediate right to Mr A. Smith. The follow on fro
this is to be able to do the same to all my numbers and names that
have in my spread sheet, to permit me to update my records with ease.

I've been attempting to do this with the SUBSTITUTE command to n
avail, and am currently lost in the world of macro jargon.

I would appreciate any help at all in resolving this confusin
problem.

Rgds,

Darren

--
Yodama
-----------------------------------------------------------------------
Yodaman's Profile: http://www.excelforum.com/member.php...fo&userid=2898
View this thread: http://www.excelforum.com/showthread.php?threadid=48716

 
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 confusion scott Excel Worksheet Functions 4 August 21st 08 04:30 PM
MDI Confusion CMoya Excel Discussion (Misc queries) 1 February 21st 08 02:11 PM
Confusion..... Eric @ CMN, Evansville Excel Discussion (Misc queries) 2 December 27th 05 07:15 PM
Assign Macro 2 a Button....confusion Stuart[_21_] Excel Programming 11 October 14th 05 05:35 AM
VBA conversion confusion Jeff[_26_] Excel Programming 1 December 17th 03 07:04 PM


All times are GMT +1. The time now is 01:39 AM.

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"