If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Hundreds of links need changed in Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-24-11, 15:51
TYOzzy TYOzzy is offline
Registered User
 
Join Date: Feb 2011
Posts: 2
Hundreds of links need changed in Excel

Hello... I have an several Excel spreadsheets linked together. Hundreds of columns. I need to change a portion of the link in each of the columns.

Example: ='X:\CQI Master\CQI\Henderson Tennessee\[CQI Master Henderson County Tennessee.xls]Yearly Stats'!D174 needs to become =IF(ISBLANK('X:\CQI Master\CQI\Henderson Tennessee\[CQI Master Henderson County Tennessee.xls]Yearly Stats'!D174),"",('X:\CQI Master\CQI\Henderson Tennessee\[CQI Master Henderson County Tennessee.xls]Yearly Stats'!D174)). The change needs to go to column P174. It's easy enough to do one, but there are hundreds with different text. Another might be: ='X:\CQI Master\CQI\Morgan County Tennessee\[CQI Master Morgan County Tennessee.xls]Yearly Stats'!D174 It needs to be =IF(ISBLANK('X:\CQI Master\CQI\Morgan County Tennessee\[CQI Master Morgan County Tennessee.xls]Yearly Stats'!D174),"",('X:\CQI Master\CQI\Morgan County Tennessee\[CQI Master Morgan County Tennessee.xls]Yearly Stats'!D174))and so on through tons more.

Is there any way that VB can do this? I unfortunately know nothing about VB. I'm in desperate need of help. I would greatly appreciate any help I can get. I attached a file in case what I've tried to ask didn't make any sense.

Thanks!! Tara
Attached Files
File Type: zip Help.zip (138.2 KB, 6 views)

Last edited by TYOzzy; 02-24-11 at 16:23.
Reply With Quote
  #2 (permalink)  
Old 02-24-11, 16:02
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,075
You already have the fully qualified reference in an existing formula right? Say you had this in A1:

='X:\CQI Master\CQI\Henderson Tennessee\[CQI Master Henderson County Tennessee.xls]Yearly Stats'!D174

Why can't you just do:

=IF(ISBLANK(A1), "", A1)

??
__________________
oh yeah... documentation... I have heard of that.

*** What Do You Want In The MS Access Forum? ***
Reply With Quote
  #3 (permalink)  
Old 02-24-11, 16:22
TYOzzy TYOzzy is offline
Registered User
 
Join Date: Feb 2011
Posts: 2
Quote:
Originally Posted by Teddy View Post
You already have the fully qualified reference in an existing formula right? Say you had this in A1:

='X:\CQI Master\CQI\Henderson Tennessee\[CQI Master Henderson County Tennessee.xls]Yearly Stats'!D174

Why can't you just do:

=IF(ISBLANK(A1), "", A1)

??
Thanks, but each row is linked to its own different spreadsheet and a row in that spreadsheet. It's not so much how I have them linked that I'm having an issue with. It's how am I going to change hundreds upon hundreds of links.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On