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: 4
Default DIY Excel Marco Beginner needs help with 'replace'

Hi,

I have a query regarding the 'replace' tool. The best way of describing
what I want to do is below (under A is what I have, under B is what I
want):

A B
Hovis Hovis
Hovis White Hovis
Hovis White Standard Hovis
Kingsmill Kingsmill
Kingsmill White Kingsmill
Kingsmill White Standard Kingsmill

This goes on for a very long time (big excel sheet!).

Now, I know that the replace tool available in the 'edit' function will
work when I say find 'kingsmill *' and replace with 'kingsmill', but
what I know Macros can do is to allow me to place a button on the excel
sheet that i can press and it will replace all of the variables (e.g.
hovis white to hovis, and kingsmill white top kingsmill, etc etc). This
will prevent me from having to go through each variable.

Therefore, I would be very grateful if someone could help me with this.
I am finding it difficult as the sheet is going to be updated every
week, so placing specifc ranges in a script (e.g.
Range("A11").Select) will not be appropriate and it doesnt seem to work
if I just put A or A1:A100).

I would be grateful for any suggestions, but bear in mind I am a DIY
Macros beginner who has only been looking at this for two days! If you
are going to write a script, please explain it to me. Thank you, very
very much!

I look forward to hearing from somone, anyone...thanks

Greg

 
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
I'm an excel beginner please help DLL Excel Worksheet Functions 4 June 29th 09 02:35 AM
Beginner in excel Sarah Excel Discussion (Misc queries) 7 May 28th 07 06:51 PM
Excel Beginner, TSNS Excel Worksheet Functions 3 May 14th 07 03:00 AM
EXCEL-Beginner SMART Links and Linking in Excel 1 July 21st 05 10:08 AM
A beginner needs help with Excel and VB Mike[_90_] Excel Programming 1 October 13th 04 02:47 AM


All times are GMT +1. The time now is 09:10 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"