Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Remove specified value from string

Hey

I have the following value:
"7D: Test Note"

I would like to remove the "7D: " from the above string.
How do I do this?


Thanks
Todd

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default Remove specified value from string

Todd,
With string in A1 put this in (say) b1:

=SUBSTITUTE(A1,"7D:","",1)

Or in VBA, use REPLACE function

newstring=Replace(Range("A1"),"7D:","")

Range("a1") could be replaced by string variable.

HTH

"Todd Huttenstine" wrote:

Hey

I have the following value:
"7D: Test Note"

I would like to remove the "7D: " from the above string.
How do I do this?


Thanks
Todd


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
How can I remove 5 digit from a string ? Tufail Excel Discussion (Misc queries) 2 August 23rd 08 12:48 PM
Remove specified string from value Todd Huttenstine Excel Programming 1 January 31st 06 05:13 PM
Remove specified value from string Todd Huttenstine Excel Programming 2 January 31st 06 04:48 PM
remove leading zero from a string.. clegge Excel Worksheet Functions 3 December 27th 05 09:04 PM
Remove the last letter from a string! Mannyluk Excel Programming 1 March 21st 05 03:45 PM


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