[sizing]: (Optional) Defines 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.
Keep the original image size, which may exceed cell boundaries.
[lock]: (Optional) Whether to lock the position and size of the image: 0-No, 1-Yes.
Example Usage
The BARCODE() 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:
=BARCODE(text; destination; type)
We will get the following result:
The following values are used in this example:
text:A2 - text to be converted into a barcode ("ABC-abc-1234").
destination:D2 - cell where the image will be located ("D2").
type:B2 - Barcode type ("code128").
Where to Get the Full List of Barcode Types?
A complete list of available barcode types can be found on the following page: "Supported Barcode Types"