在Google电子表格中生成QR码 [英] Generating QR codes in google-spreadsheet

查看:238
本文介绍了在Google电子表格中生成QR码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于使用google-spreadhseet生成QR码的简单问题。
我正在使用google的API调用

  = image(https://chart.googleapis.com/chart? chs = 150x150& cht = qr& chl =& a3)


其中 A3 是个人的名字。



我的姓在 A4 ,但是当我尝试时:

  =图片(https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=&(A3 + A4))

  = image(https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=& 
(CONCATENATE(A3,,A4)))

QR框为空。



我从第一个和最后一个名字生成一个QR码,而不必创建另一个字段。

p>

  =图片(https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=& amp ; A3和A4)

请注意,这只适用于A3和A4只包含未保留的URL字符;否则您需要编码百分比,如另一答案


I have a simple question about generating QR codes with google-spreadhseet. I am using google's API call

=image("https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl="&A3)

This works fine. Where A3 is a persons first name.

I have their last name in A4 but when I try:

=image("https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl="&(A3+A4))

or

=image("https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl="&
(CONCATENATE(A3, " ", A4)))

The QR box is blank.

How can I generate a QR code from both the first and last name without having to create another field.

解决方案

Simple as that:

=image("https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl="&A3&A4)

Note that this will only work if A3 and A4 only contain unreserved URL characters; otherwise you need percent encoding as explained in another answer here.

这篇关于在Google电子表格中生成QR码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆