PC Review


Reply
Thread Tools Rate Thread

Find and Replace Command Using Wildcard Help

 
 
rgilbreath
Guest
Posts: n/a
 
      10th Oct 2008
I can't think of how to explain this question so I'll just use an example:

Using the find and replace command. I want to find < 'Worksheet1'!A* > and
replace it with < INDIRECT("'Worksheet1!A*") >. In the example the find
command is of course using " * " for a wildcard. the problem I'm having is I
need whatever that cell number is to remain the same during replacement. For
example, when it finds < 'Worksheet1'!A2 > it should replace it with <
INDIRECT("'Worksheet1!A2") > and when it finds < 'Worksheet1'!A3 > it should
replace it with < INDIRECT("'Worksheet1!A3") >, etc. Is there a symbol/key
command that I can use to tell excel to search using the wild card but
replace the cell reference with the same cell reference it finds but also add
in the INDIRECT command?
 
Reply With Quote
 
 
 
 
John Bundy
Guest
Posts: n/a
 
      10th Oct 2008
You can just do
'Worksheet1'!A
and replace with
INDIRECT("'Worksheet1!A

--
-John
Please rate when your question is answered to help us and others know what
is helpful.


"rgilbreath" wrote:

> I can't think of how to explain this question so I'll just use an example:
>
> Using the find and replace command. I want to find < 'Worksheet1'!A* > and
> replace it with < INDIRECT("'Worksheet1!A*") >. In the example the find
> command is of course using " * " for a wildcard. the problem I'm having is I
> need whatever that cell number is to remain the same during replacement. For
> example, when it finds < 'Worksheet1'!A2 > it should replace it with <
> INDIRECT("'Worksheet1!A2") > and when it finds < 'Worksheet1'!A3 > it should
> replace it with < INDIRECT("'Worksheet1!A3") >, etc. Is there a symbol/key
> command that I can use to tell excel to search using the wild card but
> replace the cell reference with the same cell reference it finds but also add
> in the INDIRECT command?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using wildcard characters in find & replace Tola Microsoft Excel Worksheet Functions 3 5th May 2010 12:31 PM
Find and replace using wildcard Jan Kronsell Microsoft Word New Users 2 21st Feb 2009 10:53 PM
find and replace using wildcard characters fjfvan Microsoft Word New Users 2 27th Jan 2009 11:19 PM
wildcard '%' acting like wildcard '_' in .net aspx page More options Gordon.E.Anderson@gmail.com Microsoft VB .NET 0 28th Mar 2007 02:02 PM
Replace methode, Replace Function, Stringbuilder replace, Regex Replace, Split Cor Microsoft VB .NET 4 1st Mar 2004 03:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:33 PM.