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 SEARCH & REPLACE MACRO

I have imported txt files into 18 workshets in an Excel file that need
to have the value in column E changed from text data to a number.
They're actually accout names that I want to have replaced with an
account number. The Macro should go through all of the sheets in the
Excel file (right now that's 18) and replace all occurences of
"PURCHASES" in column E with "51000", replace all occurences of
"ADVERTISING" in column E with "63100" and replace all occurences of
"ALBERT" in column D with "65010". This would get me started enough
that I think I could code the rest of the macro, I just need to know
how to get started. I would like this macro to be saved in my
Personl.xls file so I can use it on multiple worksheets, but at this
time I have all of these worksheets combiled as one in order to test
it on all of them to make sure it will work before I use it on my
"live" data that I will import into a client's accounting software.

If there's some help out there, it would be great.

Thanks. You're in my prayers.

Josh
 
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 Search and Replace [email protected] Excel Discussion (Misc queries) 2 September 23rd 08 01:13 PM
macro to search and replace with offset Tim Excel Discussion (Misc queries) 5 December 11th 04 09:30 PM
Search and Replace Eric[_6_] Excel Programming 3 July 13th 04 09:44 AM
Macro to search a column for a specific word and replace with wendy Excel Programming 5 January 19th 04 05:41 PM
Macro search replace question WDP[_2_] Excel Programming 1 August 28th 03 06:18 AM


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