如何在 Java 中使用 Apache poi 创建指向其他工作表上过滤器的超链接? [英] How to create hyperlink to a filter on other sheet using Apache poi in Java?
本文介绍了如何在 Java 中使用 Apache poi 创建指向其他工作表上过滤器的超链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个从 Sheet1(摘要)上的名称"字段到 Sheet2(详细信息)上名称"列上的自动筛选的超链接,以便仅在 Sheet2 上显示该特定名称的详细信息.
I want to create a hyperlink from a field 'Name' on Sheet1 (Summary) to the AutoFilter on column 'Name' on Sheet2 (Details), in order to display the details of that particular name only on the Sheet2.
我已经导入:
import org.apache.poi.ss.usermodel.Hyperlink;
import org.apache.poi.ss.usermodel.CreationHelper;
用于过滤其他工作表的超链接.
Hyperlink to filter on other sheet.
我已使用 VB 宏完成此操作,但想使用 Java POI 实现此功能.
I have done this using VB macro, but want to implement this using Java POI.
推荐答案
不支持 JAVA POI - 直到我发现..
Not supported with JAVA POI - Till what I found..
这篇关于如何在 Java 中使用 Apache poi 创建指向其他工作表上过滤器的超链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文