LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Replace Function

One way:

variable1 = Application.Substitute(variable2, "text1", "text2")

In article ,
"Neil" wrote:

I have developed a spreadsheet utilising vba in excel XP. I now discover that
the Replace function does not exist in excel 97. I am using the replace
function like this:

variable1 = Replace(variable2, "text1", "text2")

What code can I use to have the same effect and function in excel 97 and XP?

 
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
Can you have a value created by a function replace the function? xak1222 Excel Worksheet Functions 3 September 10th 09 09:37 AM
Replace function!!!!!! Ola2B Excel Discussion (Misc queries) 1 June 26th 07 09:34 AM
REPLACE FUNCTION!!!!!! Ola2B Excel Discussion (Misc queries) 3 June 22nd 07 05:55 PM
Using the replace function less caldog Excel Worksheet Functions 0 January 4th 07 07:48 PM
Need Help with Replace Function buymearing Excel Worksheet Functions 4 November 2nd 05 01:39 PM


All times are GMT +1. The time now is 09:34 AM.

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"