Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Search/replace returns Formula too long

I am not a programmer. I typically create macros and do minor VBA editing to
make things work.

I've created a macro that searches a column for specific occurrences (",")
and replaces them with a comma and a space. The problem is that one cell
sometimes contains too many characters. When that occurs, I get a Formula
too long error and the macro stops running.

Can you advise on how to correct the code? (see below)
*******
Cells.Replace What:=",""MEETINGS LIST""", Replacement:="", LookAt:=xlPart _
, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False


--
Gail Hines
Texas State Auditor''s Office

512-936-9760
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
Replace html code - formula too long andy62 Excel Discussion (Misc queries) 1 February 24th 09 09:48 PM
Replacing hard returns in long text strings. Geoff C Excel Discussion (Misc queries) 3 November 20th 08 10:43 AM
While using find and replace i am getting "formula too long" venkat Excel Discussion (Misc queries) 4 November 26th 06 01:24 PM
Replace with single tick - formula too long.... [email protected] Excel Discussion (Misc queries) 1 March 27th 06 05:21 PM
When VLOOKUP returns a #N/A How can you get it to replace #N/A wi. Cmatise Excel Worksheet Functions 10 January 12th 05 12:29 AM


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