Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ski Ski is offline
external usenet poster
 
Posts: 5
Default Replace vs Application.Substitute

When replacing text in cells with lots of text, using Replace() will
return a "Formula too Long" error. If I use Application.Substitute, it
replaces text just fine. Anyone know why? Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Replace vs Application.Substitute

The replace function must use a fixed length string rather than a variable
length string whereas the application.substitute uses a variable length
string.

It is the same when you try and copy a worksheet that has text that is more
than 255 characters long it truncates it.

--
Hope this helps
Martin Fishlock


"Ski" wrote:

When replacing text in cells with lots of text, using Replace() will
return a "Formula too Long" error. If I use Application.Substitute, it
replaces text just fine. Anyone know why? Thanks.


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 and Substitute Functions HLS[_2_] Excel Programming 0 September 21st 06 04:37 PM
wildcards with substitute of replace Jay Fincannon Excel Programming 5 September 16th 06 07:24 PM
Replace/substitute Viktor Ygdorff Excel Programming 0 July 17th 06 02:35 PM
Substitute/Replace Viktor Ygdorff Charts and Charting in Excel 0 July 17th 06 12:37 PM
Replace or Substitute for COMBIN function Jaja Excel Discussion (Misc queries) 6 January 1st 06 02:18 PM


All times are GMT +1. The time now is 06:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"