destination: A reference to the cell where the image should be placed.
[type]: (Optional) QR code type ("qrcode" (default), "datamatrix", "azteccode", "hanxin", "dotcode" etc.).
[sizing]: (Optional) Determines the image size. There are several possible values:
Insert the image into the cell and preserve its aspect ratio. Selected by default.
Fill the cell with the image and ignore its aspect ratio.
Preserve the original image size, which may exceed the cell boundaries.
[lock]: (Optional) Whether to lock the position and size of the image: 0-No, 1-Yes.
Example of Use
The QRCODE() function is easy to use. You just need to enter the URL path to the image and the cell where the image should be placed, and Excel (Calc) will automatically insert the required image:
=QRCODE(text; destination; type)
We will get the following result:
The following values are used in this example:
text:A2 - the text to be converted into a QR code ("This is a QR Code by YLC").
destination:D2 - the cell where the image will be located ("D2").
type:B2 - QR code type ("qrcode").
Where to Get a Complete List of QR Code Types?
A complete list of available QR code types can be found on the "QuickChart" page: "Supported Barcode Types"