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: 553
Default Replace all non-operators from string

Does anyone know how to replace all non-operators from a text string? That
is if my string is:

"A1+SUM(B1:B30)-365*Average(Z1:Z30)/$F$4+CostCell"

I want to replace all characters that are not +,-,*,/,^ with "".

Thanks

EM
 
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
extract text from string, leaving numbers and operators CEG Excel Discussion (Misc queries) 13 March 4th 09 11:31 PM
Boolean Operators In search and Replace Colin Hayes Excel Discussion (Misc queries) 4 January 29th 08 02:25 AM
Replace Hyperlink Addresses Help 'Dim OldStr As String, NewStr As String Ron[_14_] Excel Programming 6 January 23rd 07 07:38 PM
How do I replace last numeric string from a alphanumeric string? Christy Excel Discussion (Misc queries) 3 August 11th 06 12:17 AM
Solve operators within a string...split? crazybass2 Excel Programming 6 May 12th 05 08:19 PM


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