Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Macro Search and Replace

Our IT team was tasked in creating a Macro tool for Microsoft Excel
2003 that we had in our Word application but faced some problems in
executing the tool.

Below are the problems that were encountered:

a. Replace function limitations. If the cell has more than 180
characters, the program failed to replace the data.

b. Multiple replacements of data in one cell failed.

c. Changing of color for replace characters also failed.

The tool was to be customized to help our Editing team in polishing a
file that's been sent by our clients.

Any suggestions that could help us improve or speed up our process
will be truely appreciated.

Thanks,
Raymond
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Macro Search and Replace

Post code so we can look at it. there arre a few methods that you may be
using and without knowing the methods used in the code it is hard to give an
answer.

" wrote:

Our IT team was tasked in creating a Macro tool for Microsoft Excel
2003 that we had in our Word application but faced some problems in
executing the tool.

Below are the problems that were encountered:

a. Replace function limitations. If the cell has more than 180
characters, the program failed to replace the data.

b. Multiple replacements of data in one cell failed.

c. Changing of color for replace characters also failed.

The tool was to be customized to help our Editing team in polishing a
file that's been sent by our clients.

Any suggestions that could help us improve or speed up our process
will be truely appreciated.

Thanks,
Raymond

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Macro Search and Replace

a. Change as many cells as possible with the edit|replace equivalent. But then
look for the cells that still have the old value and use VBA's replace to get
those (those long cells).

Remember to look at only the cells that are values (non-formulas) and are text
(not numeric).

b. I don't have a guess.

c. You'll have to loop through each found cell and change the strings and
colors character-by-character.



wrote:

Our IT team was tasked in creating a Macro tool for Microsoft Excel
2003 that we had in our Word application but faced some problems in
executing the tool.

Below are the problems that were encountered:

a. Replace function limitations. If the cell has more than 180
characters, the program failed to replace the data.

b. Multiple replacements of data in one cell failed.

c. Changing of color for replace characters also failed.

The tool was to be customized to help our Editing team in polishing a
file that's been sent by our clients.

Any suggestions that could help us improve or speed up our process
will be truely appreciated.

Thanks,
Raymond


--

Dave Peterson
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
Search and Replace LymaBeane Excel Worksheet Functions 2 September 13th 06 10:30 PM
Search and Replace Rebecca New Users to Excel 2 June 5th 06 06:42 AM
Search and Replace Rebecca Excel Discussion (Misc queries) 1 May 14th 05 11:53 AM
macro to search and replace with offset Tim Excel Discussion (Misc queries) 5 December 11th 04 09:30 PM
search & replace joe_may Excel Worksheet Functions 1 November 8th 04 11:16 PM


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