Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Network drive letter designation and links in Excel 1

Status
Not open for further replies.

vladk

Programmer
May 1, 2001
991
US
Hi,

I added a reference to second workbook in the first workbook in some formula. Then I closed the workbooks and opened the first one. The formula in the cell contains link in this form:

H:\Prop\Spec\...

I,instead, need this:

\\mynetwotk\Prop\Spec...

How to do this?

Thank you

vladk
 
Like this:

Code:
='\\MyNetwork\shared\Prop\Spec\WorkbookName'!$Q$5

I hope his helps.

Ron

Note: If there is a space in the workbook name, you must enclose it in brackets.

Ron Repp
 
RonRepp,

Exactly, but how to do this BY DEFAULT???

I do not want it to do neither with my hands nor through the macro. I want Excel do it for me instantly each time when I refer to the workbook on the network.

vladk
 
Now that's a good question.

I looked up links in the help section, but I don't think this is what you want. Doing it through code would be the way that I'd go, but...

Using links, I was able to place an entire spreadsheet as an object, but not an individual cell.

Sorry I couldn't help more.

Ron



Ron Repp
 
vladk,

I do not want it to do neither with my hands nor through the macro. I want Excel do it for me instantly each time when I refer to the workbook on the network.
Don't you know by now that Excel (Microsoft) doesn't care what you want? [lol]

Seriously, though, you may want to check out this link, where the author describes a similar problem as well as a solution (which you also may not like):


Regards,
Mike
 
I added a reference to second workbook in the first workbook in some formula
How you did that ?
I guess if you don't have mapped drive then excel keeps the UNC, doesn't it ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
rmikesmith,
Thank you for the interesting link but I want the opposite thing - not to use letter in formulas since different PCs have different letter network drive designations: I need UNC by default.

PHV,
In the cell of the first wbook, I typed "=", selected another cell in the second wbook, and hit Enter.
I have to refer to the mapped drive.

vladk


 
PHV,
Sorry for the confusion, I mean, the same network drive has different letters on different PCs.
vladk

 
In the cell of the first wbook, I typed "=", selected another cell in the second wbook, and hit Enter
And what happens if the second wbook was open with UNC instead of mapped drive?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
PHV,

May be I am missing something...
The people who open the Excel wbook, they just double click on the file name in the Explorer. How this procedure relates to the ability to choose UNC instead of the mapped drive?

vladk
 
Browse Network Neighborhood instead of My Computer.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top