Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-15-2013, 01:42 PM
BobBridges's Avatar
BobBridges BobBridges is offline Adding additional "\" to directory path name Windows 7 64bit Adding additional "\" to directory path name Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

Isn't there an argument you can supply to the REPLACE function that does it to all occurrences, not just the first one? Let's see.... Nope, guess I just dreamt that. No, wait a minute, here it is; use SUBSTITUTE instead.

SUBSTITUTE(text, old_text, new_text, [instance_num])The SUBSTITUTE function syntax has the following arguments:
  • Text Required. The text or the reference to a cell containing text for which you want to substitute characters.
  • Old_text Required. The text you want to replace.
  • New_text Required. The text you want to replace old_text with.
  • Instance_num Optional. Specifies which occurrence of old_text you want to replace with new_text. If you specify instance_num, only that instance of old_text is replaced. Otherwise, every occurrence of old_text in text is changed to new_text.
Reply With Quote
 

Tags
directory name replace, find



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding additional "\" to directory path name "Save as picture" not offering directory eNGiNe Drawing and Graphics 3 02-26-2013 01:48 AM
How to edit the "Format" and the "show level" of an EXISTING table of content? Jamal NUMAN Word 2 08-14-2011 10:46 AM
Adding additional "\" to directory path name How to choose a "List" for certain "Heading" from "Modify" tool? Jamal NUMAN Word 2 07-03-2011 03:11 AM
"Microsoft Excel Application" missing in the "Component Services" on win08 sword.fish Excel 0 02-26-2010 02:09 PM
Adding additional "\" to directory path name word 2002 adding "delete" to drop down 2402RUNE Word 1 12-07-2008 09:29 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:32 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft