excel如何让表格更好看_更好的Excel表格超链接

excel如何让表格更好看

Last month, you saw J. Woolley's technique to run command files from Excel hyperlinks. He created a SuperLink function too, that is better than Excel’s HYPERLINK function. Now he's sharing a new technique, with better hyperlinks for Excel sheets.

上个月,您看到了J. Woolley从Excel超链接运行命令文件的技术。 他还创建了一个SuperLink函数,该函数优于Excel的HYPERLINK函数。 现在,他正在分享一种新技术,它具有Excel工作表的更好的超链接。

更好的Excel表格超链接 (Better Hyperlinks for Excel Sheets)

In last month's article, J. Woolley's created special hyperlinks that make it easy to run command files from Excel. In his new technique, SHEET::NAME , J. Wooley has created better hyperlinks for Excel sheets.

上个月的文章中 ,J。Woolley创建了特殊的超链接,这些超链接使从Excel运行命令文件变得容易。 J. Wooley使用他的新技术SHEET :: NAME为Excel工作表创建了更好的超链接。

With normal Excel hyperlinks, there are limitations:

对于普通的Excel超链接,存在一些限制:

  • Previous selection on the linked sheet is changed, because the hyperlink selects a specific range

    链接表上的先前选择已更改,因为超链接选择了特定范围
  • Can't link to a chart sheet, because it doesn't have cells

    无法链接到图表,因为它没有单元格
  • If the linked cell is on a hidden sheet, the link fails silently

    如果链接的单元格在隐藏的工作表上,则链接会静默失败

The SHEET::NAME hyperlinks overcome those limitations. These hyperlinks can:

SHEET :: NAME超链接克服了这些限制。 这些超链接可以:

  • activate a sheet, without changing the previous selection

    激活工作表,而不更改先前的选择
  • activate a chart sheet, as well as worksheets

    激活图表和工作表
  • show a message if linked cell is on a hidden sheet

    如果链接的单元格在隐藏的工作表上,则显示一条消息

获取工作表名称超链接文件 (Get the Sheet Name Hyperlink Files)

To get started, click this link to get the zipped folder with the Sheet Name files, and download it to a folder on your computer. SheetName.zip contains the following files:

要开始使用,请单击此链接以获取带有图纸名称文件的压缩文件夹 ,然后将其下载到计算机上的文件夹中。 SheetName.zip包含以下文件:

  • TestSheetName.xlsm

    TestSheetName.xlsm
  • Sample Check Register.xlsx

    样本检查寄存器
  • UseRunCommand.pdf

    UseRunCommand.pdf
  • UseSheetName.pdf

    UseSheetName.pdf
  • UseSuperLink.pdf

    UseSuperLink.pdf
  • ExcelBugReport.pdf

    ExcelBugReport.pdf
  • M_ProcessSheetName.bas

    M_ProcessSheetName.bas
  • M_SuperLink.bas

    M_SuperLink.bas

安装图纸名称文件 (Install the Sheet Name Files)

First, before you unzip the file, you will probably need to unblock the downloaded file using its Properties dialog box.

首先, 在解压缩文件之前 ,您可能需要使用其“属性”对话框取消阻止下载的文件

If you don’t unblock the file, the SHEET::NAME technique might appear to work, but it will not work correctly.

如果您不取消阻止文件,则SHEET :: NAME技术可能会起作用,但不会正确起作用

Then, after the downloaded file is unblocked, unzip all files to a single folder.

然后,解除阻止下载的文件后,将所有文件解压缩到一个文件夹中

It's important to keep the files together, because the TestSheetName.xlsm workbook assumes it is in the same folder as the other files.

将文件放在一起很重要,因为TestSheetName.xlsm工作簿假定它与其他文件位于同一文件夹中。

使用图纸名称文件 (Use the Sheet Name Files)

After the files are unzipped, open TestSheetName.xlsm in Excel; you will probably need to Enable Content for Macros.

解压缩文件后,在Excel中打开TestSheetName.xlsm。 您可能需要为宏启用内容。

  • NOTE: The files named M_ProcessSheetName.bas and M_SuperLink.bas have already been imported as VBA Modules. in TestSheetName.xlsm

    注意:名为M_ProcessSheetName.baM_SuperLink.bas的文件已作为VBA模块导入。 在TestSheetName.xlsm中

On the Test Sheet, there are two sections with test hyperlinks.

在测试表上,有两个带有测试超链接的部分。

  • Static Hyperlinks, created by Insert > Link

    静态超链接,通过“插入”>“链接”创建
  • Dynamic Hyperlinks, created with the SuperLink function

    使用SuperLink功能创建的动态超链接

There is a brief introduction at the top of each section, and the hyperlink text explains what each link does.

每个部分的顶部都有一个简短的介绍,超链接文本解释了每个链接的作用。

NOTE: The first link in each section opens a PDF file, with details on how the technique works.

注意 :每个部分的第一个链接都会打开一个PDF文件,其中详细介绍了该技术的工作原理。

工作表名称样本表 (Sheet Name Sample Sheets)

There are 4 sample sheets in the TestSheetName.xlsm workbook. Three of the sample sheets (based on Excel 2016 templates) are visible:

TestSheetName.xlsm工作簿中有4个样本表。 可见三个样本表(基于Excel 2016模板):

  • Home Contents Inventory List

    主页目录清单
  • Inventory's Value Chart

    库存价值图
  • Room Lookup

    房间查询

And there is a hidden sample sheet:

并且有一个隐藏的样本表:

  • Hidden Sheet

    隐藏表

There's nothing on that sheet, but it shows how the technique can work with hidden sheets too.

该工作表上没有任何内容,但它显示了该技术也可以与隐藏工作表一起使用。

测试超链接 (Test the Hyperlinks)

Use the hyperlinks on the Test Sheet to test the SHEET::NAME technique — the hyperlink text explains what each link does.

使用测试表上的超链接测试SHEET :: NAME技术-超链接文本说明每个链接的作用。

For example, go to the Room Lookup sheet, and select one of the cells in the list. Then, go back to Test Sheet, and click one of the Room Lookup links.

例如,转到“房间查找”表,然后在列表中选择一个单元格。 然后,返回到“测试表”,然后单击“房间查找”链接之一。

NOTE: The links in shaded cells will not work.

注意 :阴影单元格中的链接将不起作用。

The Room Lookup sheet is activated, and your previous selection on that sheet has not been changed.

“房间查找”表已激活,并且您在该表上的先前选择未更改。

下载样本文件 (Download the Sample Files)

To get started, click this link to get the zipped folder with the Sheet Name files, and download it to a folder on your computer

首先,单击此链接以获取带有图纸名称文件的压缩文件夹 ,并将其下载到计算机上的文件夹中

问题或意见 (Questions or Comments)

If you have questions or comments about the Run Command Files technique, contact J. Woolley.

如果您对“运行命令文件”技术有疑问或意见,请联系J. Woolley

翻译自: https://contexturesblog.com/archives/2018/05/31/better-hyperlinks-for-excel-sheets/

excel如何让表格更好看

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值