Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default find and replace

i have:
='\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!C1497
an
='\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!C1497+'\\BACKRIGHTCOMP\T-Mobile\Choice\[Tables.xls]new'!C1497

how can i do a find replace in order to just get [workbook.xls]worksheet!cell
the thing that always messes me up is the apostrophe after the worksheet name

thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default find and replace

How does it mess you up? Show some sample code that causes a problem.

--
Regards,
Tom Ogilvy

"choice" wrote in message
...
i have:
='\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!C1497
and

='\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!C1497+'\\BACKRIGHTCOMP\
T-Mobile\Choice\[Tables.xls]new'!C1497

how can i do a find replace in order to just get

[workbook.xls]worksheet!cell
the thing that always messes me up is the apostrophe after the worksheet

name

thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default find and replace

it will give an error saying function is not correct when it goes to the next
function
well i was just doing a find
"'\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!
and replace with [data.xls]tracker!, but some equations have multiple sheets
and workbooks

so i guess my question is, is there a way to do a find and replace that will
work for
'\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!
and
'\\BACKRIGHTCOMP\T-Mobile\Choice\[Tables.xls]new'!C1497
is there like a wildcard function that will allow me to replace everything
inbetween ' and [ and also the value before !

"Tom Ogilvy" wrote:

How does it mess you up? Show some sample code that causes a problem.

--
Regards,
Tom Ogilvy

"choice" wrote in message
...
i have:
='\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!C1497
and

='\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!C1497+'\\BACKRIGHTCOMP\
T-Mobile\Choice\[Tables.xls]new'!C1497

how can i do a find replace in order to just get

[workbook.xls]worksheet!cell
the thing that always messes me up is the apostrophe after the worksheet

name

thanks in advance




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default find and replace

No, if you are replacing a substring, I think you need to know what it is.
There may be special cases where you can do that, but I don't think there is
any way you can do

Replace: '*'
With: 'Some String'



--
Regards,
Tom Ogilvy

"choice" wrote in message
...
it will give an error saying function is not correct when it goes to the

next
function
well i was just doing a find
"'\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!
and replace with [data.xls]tracker!, but some equations have multiple

sheets
and workbooks

so i guess my question is, is there a way to do a find and replace that

will
work for
'\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!
and
'\\BACKRIGHTCOMP\T-Mobile\Choice\[Tables.xls]new'!C1497
is there like a wildcard function that will allow me to replace everything
inbetween ' and [ and also the value before !

"Tom Ogilvy" wrote:

How does it mess you up? Show some sample code that causes a problem.

--
Regards,
Tom Ogilvy

"choice" wrote in message
...
i have:
='\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!C1497
and


='\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!C1497+'\\BACKRIGHTCOMP\
T-Mobile\Choice\[Tables.xls]new'!C1497

how can i do a find replace in order to just get

[workbook.xls]worksheet!cell
the thing that always messes me up is the apostrophe after the

worksheet
name

thanks in advance






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default find and replace

any suggestions as to what would be the best way to get:

='\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!C1497+'\\BACKRIGHTCOMP\T-Mobile\Choice\[Tables.xls]new'!C1497

to turn into:

=[Data.xls]Tracker!C1497+[Tables.xls]new!C1497


"Tom Ogilvy" wrote:

No, if you are replacing a substring, I think you need to know what it is.
There may be special cases where you can do that, but I don't think there is
any way you can do

Replace: '*'
With: 'Some String'



--
Regards,
Tom Ogilvy

"choice" wrote in message
...
it will give an error saying function is not correct when it goes to the

next
function
well i was just doing a find
"'\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!
and replace with [data.xls]tracker!, but some equations have multiple

sheets
and workbooks

so i guess my question is, is there a way to do a find and replace that

will
work for
'\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!
and
'\\BACKRIGHTCOMP\T-Mobile\Choice\[Tables.xls]new'!C1497
is there like a wildcard function that will allow me to replace everything
inbetween ' and [ and also the value before !

"Tom Ogilvy" wrote:

How does it mess you up? Show some sample code that causes a problem.

--
Regards,
Tom Ogilvy

"choice" wrote in message
...
i have:
='\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!C1497
and


='\\BACKRIGHTCOMP\T-Mobile\Choice\[Data.xls]Tracker'!C1497+'\\BACKRIGHTCOMP\
T-Mobile\Choice\[Tables.xls]new'!C1497

how can i do a find replace in order to just get
[workbook.xls]worksheet!cell
the thing that always messes me up is the apostrophe after the

worksheet
name

thanks in advance






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
Find & Replace: find part cell, replace whole cell katy Excel Worksheet Functions 3 April 3rd 23 01:20 PM
Find and Replace - Replace with Blank Space Studebaker Excel Discussion (Misc queries) 4 April 3rd 23 10:55 AM
Find and replace results can the appearance of find be different? LLS at DPW Excel Discussion (Misc queries) 2 October 26th 09 11:16 PM
where to put results of find operation in find and replace functio DEP Excel Worksheet Functions 5 November 15th 06 07:52 PM
find and replace - replace data in rows to separated by commas msdker Excel Worksheet Functions 1 April 15th 06 01:00 AM


All times are GMT +1. The time now is 02:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"