如何在超链接函数中连接字符串
我想在我的 OpenOffice Calc 电子表格中添加一列。
特别是,此列应包含指向 Google 查询的超链接。
例如:如果在 A1 中我有字符串“角斗士”,我希望有 B1 列:
"www.google.it?q=The Gladiator"
这样我可以单击并打开浏览器来查看“电影”的情况(是的,它是一个简单的电影数据库)。
谢谢你!
I would like to add a column in my OpenOffice Calc spreadsheet.
In particular, this column should contain a hyperlink to a query on Google.
For example: if in A1 I have the string "The gladiator", I would like have column B1:
"www.google.it?q=The Gladiator"
So I can click and open the browser to see how that "film" is (yes, it is a simple film database).
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您有两个选择:
&
运算符:或
concatenate()
函数:HYPERLINK()
函数为您处理 URL 编码。You have two options:
The
&
operator:or the
concatenate()
function:The
HYPERLINK()
function handles URL encoding for you.优秀答案:使用
&
或Concatenate
函数。让我补充一下,正确的连接符是分号,而不是逗号...
另外,我建议使用电影标题作为单元格文本,以避免在 b 列单元格中显示文字超链接。
我正在使用这个确切的函数(不同的目标URL),并试图让新页面在与前一个页面相同的窗口中启动,以避免必须单击角落里的X(谈论懒惰)。
Excellent Answer: Use
&
orConcatenate
function.Let me add, the proper connector is semi-colon, not comma...
Also, I would recommend using the film title as the celltext, to avoid having the literal hyperlink display in the column b cell.
I am using this exact function (different target URL) and am trying to get the new page to launch in the same window as the previous, to avoid having to click the X in the corner (talk about lazy).