如何轻松获取您正在处理的文件的网络路径?
在 Excel 2003 中,我曾经在工具栏中添加了一个名为“地址”的命令(如果我没记错的话),它将显示我打开的文件的完全限定网络路径。例如:\\ads\IT-DEPT-DFS\data\Users\someguy\somefile.xls
这样,当您想要共享文件时,可以轻松获取此字符串并将其弹出到电子邮件中和一位同事。我在 Excel 2010 中没有看到此选项,但发现自己现在需要经常发送/接收 Excel 文件。同事会含糊其辞地提到“它在共享驱动器上”或将文件作为附件通过电子邮件发送(呃!)。
有人知道 Excel 2010 中是否存在类似的东西吗?
更新:我发现了 Excel 2003 到 2007 命令的映射。 http://office.microsoft .com/en-us/excel-help/redir/AM010186429.aspx?CTT=5&origin=HA010086048
Web>地址是我使用的 - 看起来在 2007 年变成了“文档位置”。但他们2010 年再次删除/混淆了它。我试图找到 2007 年到 2010 年这样的映射。
In Excel 2003 there used to be a command that I added to my toolbar that was called Address (if I remember correctly) and it would show the fully-qualified network path to the file I had open. For example: \\ads\IT-DEPT-DFS\data\Users\someguy\somefile.xls
This made it easy to grab this string and pop it in an email when you wanted to share the file with a coworker. I don't see this option in Excel 2010 but find myself needing to send/receive Excel files a lot now. Coworkers will give vague references to "it is on the share drive" or email the file as an attachment (ugh!).
Anyone know if something comparable exists in Excel 2010?
UPDATE: I found this mapping of Excel 2003 to 2007 commands. http://office.microsoft.com/en-us/excel-help/redir/AM010186429.aspx?CTT=5&origin=HA010086048
Web>Address is what I was using - looks like that became "Document Location" in 2007. But they removed/obfuscated this again in 2010. I am trying to find a mapping like this for 2007 to 2010.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
右键单击功能区并选择
自定义功能区
。从选择命令:
下拉列表中,选择不在功能区中的命令
。这就是我找到
文档位置
命令的地方。Right click on the ribbon and choose
Customize the ribbon
. From theChoose commands from:
drop down, selectCommands not in the ribbon
.That is where I found the
Document location
command.以下是如何在 Excel 2010 中获取文件的文件路径。
1) 右键单击功能区。
2) 单击“自定义功能区”
3) 在右侧,单击“新建组”。这将向功能区添加一个新选项卡。
如果需要,请单击右侧的“重命名”按钮并命名您的选项卡。例如,我将选项卡命名为“文档路径”。此步骤是可选的
4) 在左侧的“选择命令”下,选择“不在功能区中的命令”。
5) 选择“文档位置”并将其“添加”到您新创建的组中。
6) 文件路径现在应该显示在功能区上新创建的选项卡下。
Here's how to get the filepath of the file in Excel 2010.
1) Right click on the Ribbon.
2) Click on "Customize the Ribbon"
3) On the right hand side, click "New Group." This will add a new tab to the Ribbon.
If you want to, click on the "Rename" button the right side and name your tab. For example, I named the tab "Doc Path." This step is optional
4) Under "Choose Commands From" on the left hand side, choose "Commands Not in the Ribbon."
5) Select "Document Location" and "Add" it to your newly created group.
6) The filepath should now appear under the newly created tab on the ribbon.
在 Win7(我认为是 Vista)中,您可以
Shift+右键单击
有问题的文件,然后选择复制为路径
来获取完整的网络路径。注意:如果共享驱动器映射到字母,您将获得该路径(即:X:\someguy\somefile.xls
)In Win7 (and Vista I think), you can
Shift+Right Click
the file in question and selectCopy as path
to get the full network path. Note: if the shared drive is mapped to a letter, you will get that path instead (ie:X:\someguy\somefile.xls
)回答我自己的问题。我发现一致且即时工作的唯一方法是:
1) 在我的“收藏夹”中创建指向我使用的目录的链接
2) 将该收藏夹上的属性更新为绝对路径 (\\ads\IT-DEPT -DFS\Data\MAILROOM)
3) 保存新文件时,我仅通过上面创建的收藏夹目录导航到该目录(或者您可以使用带有绝对路径的任何快捷方式)
4) 保存后,转到“文件”选项卡并可以从信息(默认)部分的顶部复制完整路径
Answer to my own question. The only way I have found that works consistently and instantaneously is to:
1) Create a link in my "Favorites" to the directory I use
2) Update the properties on that favorite to be an absolute path (\\ads\IT-DEPT-DFS\Data\MAILROOM)
3) When saving a new file, I navigate to that directory only via the Favorites directory created above (or you can use any Shortcut with an absolute path)
4) After saving, go to the File tab and the full path can be copied from the top of the Info (default) section
我意识到这是一个有点老的问题,但它也让我发疯 - 今天我找到了我相信提问者正在寻找的解决方案(即 Excel 2003 的 Web--> 地址到 Excel 的直接映射) 2010 丝带)。
要自定义功能区,请右键单击它并选择“自定义功能区”。您可以创建一个新选项卡/组,或将其添加到现有选项卡/组中。选择查看“所有命令”,然后您要查找的命令简称为“地址”。这会将一个包含完整网络路径(可以选择复制)的框放入功能区中,就像 Excel 2003 一样。
I realise this is a slightly old question, but it was driving me crazy too - and today I've found the solution that I believe the questioner was looking for (i.e. a direct mapping of Excel 2003's Web-->Address to the Excel 2010 Ribbon).
To customise the Ribbon, right-click on it and choose 'Customise the Ribbon'. You can make a new tab/group, or add this to an existing one. Choose to look in "All commands" and then the one you are after is simply called "Address". This puts a box with the full network path in it (that can be selected to copy) into the ribbon, just like Excel 2003.
只需将以下公式粘贴到任何单元格中,它就会呈现文件的路径:
上述公式适用于任何版本的 Excel。
Just paste the below formula in any of the cells, it will render the path of the file:
The above formula works in any version of Excel.
我找到了一种在 Office 2010 中显示文档位置模块的方法
。选项->快速访问工具栏
从
选择命令
列表选择
所有命令
找到
“文档位置”
,然后按“添加>>”
按钮。按
确定
。Viola,文件路径位于 2010 Office 文档的顶部。
I found a way to display the
Document Location module
in Office 2010.File -> Options -> Quick Access Toolbar
From the
Choose commands
listselect
All Commands
find
"Document Location"
press the"Add>>"
button.press
OK
.Viola, the file path is at the top of your 2010 office document.
在 Excel 2010 中查找地址路径的最简单方法:
文件 - 信息 - 属性(右侧) - (下拉菜单) - 高级属性 - 常规选项卡
您将看到在 Excel 2003 中很容易找到的相同属性框。
Easiest way to find address path in Excel 2010:
File - info - properties (on right) - (drop-down menu) - advanced properties - general tab
You will get to the same properties box that was so simple to find in Excel 2003.
您可以使用以下公式来获取文件的路径:
You may use this formula to get the path of the file: