मुख्य सामग्री पर जाएं

एक्सेल में क्यूआर कोड जनरेट करना (पूरे तरीकों के साथ आसान गाइड)

लेखक: सिलुविया अंतिम संशोधित: 2024-05-13

In today’s digital age, QR codes have become an essential tool for sharing information quickly and efficiently. This guide explores different techniques to create QR codes directly within Excel, whether you are using the latest Excel 365 or earlier versions. By the end of this article, you will be well-equipped to integrate QR codes into your Excel projects seamlessly.


Generating QR codes in Excel 365

Excel 365 enhances its capabilities with functions like छवि और लैम्ब्डा, allowing users to generate QR codes dynamically. This section will show you how to generate QR codes using the IMAGE or LAMBDA functions in Excel 365.


Using the IMAGE function

In this example, we are going to use the IMAGE function to generate QR codes containing links to the following websites.

  1. Select a cell where you want the QR code to appear. Here I select D3 to display a QR code containing a link to the Extendoffice वेबसाइट।
  2. Enter the following formula and press दर्ज to get the QR code.
    =IMAGE("https://quickchart.io/qr?text=" & ENCODEURL(C3))
  3. Select this formula cell, double click the bottom right corner (the green square) of the cell to get the rest of QR codes.
नोट:
  • In the formula, please replace C3 with the cell reference that contains the text you want to encode in the QR code.
  • The QR code will automatically update if the content in the referenced cell changes.
  • This formula can also be used to generate QR codes in Google Sheets.
  • QuickChart.io provides a simple API to generate QR codes. The base URL for generating QR codes is https://quickchart.io/qr?text=.

Using the LAMBDA function

For many Excel users, remembering complex formulas can be challenging. In this section, I'll demonstrate how to utilize the लैम्ब्डा फ़ंक्शन to create a custom and reusable function based on the previously mentioned IMAGE formula. This will allow you to use a simpler, user-defined function to generate QR codes in Excel in the future.

Step 1: defined a name using the LAMBDA function
  1. इस पर जाएँ सूत्र टैब और क्लिक करें नाम परिभाषित करें में परिभाषित नाम समूह.
  2. पॉप अप में नाम संपादित करें डायलॉग बॉक्स, आपको निम्नानुसार कॉन्फ़िगर करना होगा।
    1. में नाम box, give a name to the LAMBDA formula. Here I name it as fnGetQRCode.
    2. में को संदर्भित करता है box, enter the following formula.
      =LAMBDA(text, IMAGE("https://quickchart.io/qr?text=" & ENCODEURL(text) & "&size=150"))
    3. क्लिक करें OK to save the defined name. See screenshot:
      नोट्स:
      • सूत्र में, 150 is the default pixel size for the QR code image. You can adjust this value as needed, but remember that the actual display size of the generated QR code in Excel will be determined by the size of the cell.
      • To know more about the LAMBDA function, visit this page: एक्सेल लैम्ब्डा फ़ंक्शन (365).
Step 2: Apply the user-defined function to generate QR codes
  1. Select a cell where you want the QR code to appear. Here I select D3 to display a QR code containing a link to the Extendoffice वेबसाइट।
  2. Enter the following formula and press दर्ज to get the QR code.
    =fnGetQRCode(C3)
  3. Select this formula cell, double click the bottom right corner (the green square) of the cell to get the rest of QR codes.
    नोट्स:
    • सूत्र में:
      • fnGetQRCode is the name you defined in step 1.
      • कृपया प्रतिस्थापित करें C3 with the cell reference that contains the text you want to encode in the QR code.
    • The QR code will automatically update if the content in the referenced cell changes.

Generating QR codes in all Excel versions

For users without access to Excel 365, there are still reliable options to generate QR codes through add-ins and external tools, making this functionality accessible across all versions of Excel.


Using Excel Built-in Add-ins to generate QR codes one by one

Excel add-ins like QR4कार्यालय provide a robust alternative that is compatible across multiple versions of Excel. This method allows for detailed customization of QR codes and is ideal for users who need to generate codes sporadically within their documents.

Step 1: Install the QR4Office addin-in
  1. सम्मिलित करें > ऐड-इन्स प्राप्त करें.
    नोट: यदि आप नहीं देखते हैं ऐड-इन्स प्राप्त करें के अंतर्गत आदेश सम्मिलित करें tab in the ribbon, you will need to add it manually. Below are the steps to add this command to the त्वरित एक्सेस टूलबार:
    1. दबाएं क्विक एक्सेस टूलबार कस्टमाइज़ करें ड्रॉप-डाउन तीर और चुनें अधिक कमांड मेनू से।
    2. में Word विकल्प खिड़की:
      1. चुनते हैं आदेश रिबन में नहीं से से कमांड चुनें ड्राॅप डाउन लिस्ट।
      2. खोजें और चुनें ऐड-इन्स प्राप्त करें बाएँ आदेश सूची में।
      3. दबाएं बटन (द ऐड-इन्स प्राप्त करें command will be added to the right pane).
      4. क्लिक करें OK परिवर्तनों को सहेजने के लिए. स्क्रीनशॉट देखें:
    3. RSI ऐड-इन्स प्राप्त करें कमांड अब इसमें जोड़ दिया गया है त्वरित एक्सेस टूलबार. You can click on it to open the कार्यालय ऐड-इन्स दुकान।
  2. में कार्यालय ऐड-इन्स दुकान:
    1. प्रकार "QR4कार्यालय" खोज बॉक्स में और दबाएँ दर्ज.
    2. एक बार QR4कार्यालय ऐड-इन प्रकट होता है, क्लिक करें इसे स्थापित करने के लिए बटन.
  3. निम्नलिखित प्रॉम्प्ट बॉक्स में, क्लिक करें जारी रखें.
Step 2: Use the QR4Office add-in to generate QR code

एक बार स्थापित होने पर, QR4Code pane will automatically open on the right side of your workbook, allowing you generate QR code as follows.

  1. Select the cell containing the text or link you want to encode in the QR code.
    In this case, to enclose a link to the Extendoffice website, I select cell C3 containing the URL.
  2. दबाएं Copy current document selection button to transfer the cell content into the QR4Office fields.
    टिप: Alternatively, you can select either URL or Text type from the drop-down list and manually enter the required information into the text box.
  3. में ऑप्शंस section, you can optionally customize the QR code's appearance by selecting the color, background, and size, or retain the default settings.
  4. Select the destination cell for the QR code. Here I select D3.
  5. क्लिक करें सम्मिलित करें to place the QR code into the selected cell. See screenshot:
  6. Repeat the above 5 steps to generate other QR codes.

Using Kutools for Excel to generate QR codes in bulk

Also an add-in, एक्सेल के लिए कुटूल offers a distinct advantage over QR4Office with its ability to batch generate QR codes across a selected range. The QR कोड डालें का लक्षण एक्सेल के लिए कुटूल is particularly valuable for users who need to create multiple QR codes efficiently. It automates the process across multiple cells, saving time and minimizing manual input errors.

बाद एक्सेल के लिए कुटूल स्थापित करना, सेलेक्ट पर जाएं कुटूल > सम्मिलित करें > QR कोड डालें को खोलने के लिए Insert DR Code pane, then you can generate QR code s in bulk as follows:

  1. में डेटा रेंज़ field, select the range of cells containing the text or link you want to encode in the QR code.
  2. में रेंज सम्मिलित करें field, select a range of cells to place the corresponding QR codes.
  3. में ऑप्शंस section, you can optionally customize the QR code's appearance by specifying the size, line color, etc., or retain the default settings.
  4. दबाएं उत्पन्न करें button to generate QR codes for all selected cells simultaneously.
नोट: Before using this feature, ensure that Kutools for Excel is installed. Download a 30-day free trial with full features of Kutools for Excel now!

Generating QR codes in Excel is straightforward, whether you use the advanced capabilities of Excel 365 or rely on add-ins available for all versions. By following the steps outlined in this guide, you can efficiently integrate QR codes into your Excel sheets, enhancing the interactivity and accessibility of your data. Explore these methods to find the one that best suits your needs and streamline your workflow in new and innovative ways. For those eager to delve deeper into Excel's capabilities, our website boasts a wealth of tutorials. यहां अधिक एक्सेल टिप्स और ट्रिक्स खोजें.

सर्वोत्तम कार्यालय उत्पादकता उपकरण

🤖 कुटूल्स एआई सहयोगी: निम्न के आधार पर डेटा विश्लेषण में क्रांति लाएं: बुद्धिमान निष्पादन   |  कोड जनरेट करें  |  कस्टम फ़ॉर्मूले बनाएं  |  डेटा का विश्लेषण करें और चार्ट बनाएं  |  कुटूल फ़ंक्शंस का आह्वान करें...
लोकप्रिय सुविधाएँ: डुप्लिकेट ढूंढें, हाइलाइट करें या पहचानें   |  रिक्त पंक्तियाँ हटाएँ   |  डेटा खोए बिना कॉलम या सेल को संयोजित करें   |   फॉर्मूला के बिना गोल ...
सुपर लुकअप: एकाधिक मानदंड VLookup    मल्टीपल वैल्यू वीलुकअप  |   अनेक शीटों में VLookup   |   फजी लुकअप ....
उन्नत ड्रॉप-डाउन सूची: शीघ्रता से ड्रॉप डाउन सूची बनाएं   |  आश्रित ड्रॉप डाउन सूची   |  बहु-चयन ड्रॉप डाउन सूची ....
स्तम्भ प्रबंधक: कॉलमों की एक विशिष्ट संख्या जोड़ें  |  कॉलम ले जाएँ  |  छिपे हुए कॉलम की दृश्यता स्थिति टॉगल करें  |  रेंज और कॉलम की तुलना करें ...
फीचर्ड फीचर्स: ग्रिड फोकस   |  डिजाइन देखें   |   बड़ा फॉर्मूला बार    कार्यपुस्तिका एवं शीट प्रबंधक   |  संसाधन लाइब्रेरी (ऑटो टेक्स्ट)   |  खजूर बीनने वाला   |  कार्यपत्रकों को संयोजित करें   |  एन्क्रिप्ट/डिक्रिप्ट सेल    सूची के अनुसार ईमेल भेजें   |  सुपर फ़िल्टर   |   विशेष फ़िल्टर (फ़िल्टर बोल्ड/इटैलिक/स्ट्राइकथ्रू...) ...
शीर्ष 15 टूलसेट12 टेक्स्ट टूल्स (पाठ जोड़ें, अक्षर हटाएँ, ...)   |   50 + चार्ट प्रकार (गैन्ट चार्ट, ...)   |   40+ प्रैक्टिकल सूत्र (जन्मदिन के आधार पर आयु की गणना करें, ...)   |   19 निवेशन टूल्स (QR कोड डालें, पथ से चित्र सम्मिलित करें, ...)   |   12 रूपांतरण टूल्स (शब्दों को संख्याएँ, मुद्रा रूपांतरण, ...)   |   7 विलय और विभाजन टूल्स (उन्नत संयोजन पंक्तियाँ, विभाजन कोशिकाओं, ...)   |   ... और अधिक

एक्सेल के लिए कुटूल के साथ अपने एक्सेल कौशल को सुपरचार्ज करें, और पहले जैसी दक्षता का अनुभव करें। एक्सेल के लिए कुटूल उत्पादकता बढ़ाने और समय बचाने के लिए 300 से अधिक उन्नत सुविधाएँ प्रदान करता है।  वह सुविधा प्राप्त करने के लिए यहां क्लिक करें जिसकी आपको सबसे अधिक आवश्यकता है...

Description


ऑफिस टैब ऑफिस में टैब्ड इंटरफ़ेस लाता है, और आपके काम को बहुत आसान बनाता है

  • Word, Excel, PowerPoint में टैब्ड संपादन और रीडिंग सक्षम करें, प्रकाशक, एक्सेस, विसियो और प्रोजेक्ट।
  • नई विंडो के बजाय एक ही विंडो के नए टैब में एकाधिक दस्तावेज़ खोलें और बनाएं।
  • आपकी उत्पादकता 50% बढ़ जाती है, और आपके लिए हर दिन सैकड़ों माउस क्लिक कम हो जाते हैं!
Comments (38)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Is it possible to make a payment qr code in excel?
f.e. In cell A1 I've an amout of 10 euro, and in cell B2 I want to have an qr code so anyone can pay me with the qr code?

Thanks.
This comment was minimized by the moderator on the site
Hi Ruben,

Thank you for reaching out with your question. While Kutools for Excel does feature QR code generation, creating a payment QR code directly in Excel for transactional purposes is beyond the scope of this feature. Payment QR codes usually require integration with financial services or payment platforms to ensure secure transactions. I recommend exploring services specifically designed for creating payment QR codes, such as those offered by banks or digital payment systems. These platforms can generate a QR code linked to your payment details securely. Once you have the payment QR code, you could then include it in your Excel document as an image.
This comment was minimized by the moderator on the site
Hello

The download link provided in step 4 appears to be only Microsoft Barcode Control 14.0. Can anyone suggest a correct link for 16.0 please?

Thank you.
This comment was minimized by the moderator on the site
1 Sheets waar in de cellen van de rij random QR codes binnen komen. Waarvan elke QR code automatisch de juiste Sheets openend?
Of de BVA commando codes van de Button om de koppeling maken naar een andere sheets.
Dan ben erg dankbaar voor.
(dit is voor vrijwilligerswerk)

Groetjes,
H. van Schaijk
This comment was minimized by the moderator on the site
Hi H. van Schaijk,
I can't fix this problem. Sorry about that.
This comment was minimized by the moderator on the site
Hi folks,
Below code works fine with me, which is linked to cell range & generates the QR at each row cell 5000 nos, however I would like to stop the QR object generation if the reference cell value is zero / otherway round should generate the QR at adjucent cell if the value at reference cell is more than zero or <>""

Please seek experts assistance!!

thank you in advance

Sub Gen_StockOut_QR()
MsgBox ("Will Generate QR Code for Stock_Out Items at In@Out Sheet")
Sheets("In@Out_Data").Select
ActiveSheet.Unprotect Password:=" "
'Column range set at QR_Code
Range("QR_Code").Select

For Each cell In Selection
'cell.Offset(0, 23).Select ' 1 indicates the position of excel column A1 from the formula/webaddress/site/characters to be used to generate QR code
cell.Offset(0, 0).Select

' My case QRCode is at column 24 hence 24 as column from A1, QR Size 100*100
FilePath = "http://chart.googleapis.com/chart?chs=100x100&&cht=qr&chl=" & WorksheetFunction.EncodeURL(cell.Value) ' here is the cell value

With ActiveSheet.Pictures.Insert(FilePath)
'.ShapeRange.ScaleWidth 0.95, msoFalse, msoScaleFromTopLeft
'.ShapeRange.ScaleHeight 0.95, msoFalse, msoScaleFromTopLeft

End With
Next cell
End Sub
This comment was minimized by the moderator on the site
Interesting article - thank you.  How do I remove the custom control from the list please?
This comment was minimized by the moderator on the site
Hi,Do you mean to remove the Form Control inserted in the VBA code method? If so, you just need to right click it (when there is a context menu listed, click anywhere outside it to hide the context menu), and then press Delete to remove it.
This comment was minimized by the moderator on the site
Olá! Para mim, nenhum dos comentários ou esse post funcionou corretamente, mas utilizando o Visual Basic com o código que deixarei abaixo funcionou, pois criou uma função para mim. E para usar a função é só abrir a planilha e digitar: "=QrCode("célula desejada")"




Function QrCode(codetext As String)
Dim URL As String, MyCell As Range
'Para gerar o código, precisa a máquina ter acesso a internet
Set MyCell = Application.Caller
URL = "https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=" & codetext
On Error Resume Next
ActiveSheet.Pictures("QR_" & MyCell.Address(False, False)).Delete
On Error GoTo 0
ActiveSheet.Pictures.Insert(URL).Select
With Selection.ShapeRange(1)
.PictureFormat.CropLeft = 15
.PictureFormat.CropRight = 15
.PictureFormat.CropTop = 15
.PictureFormat.CropBottom = 15
.Name = "QR_" & MyCell.Address(False, False)
.Left = MyCell.Left + 2
.Top = MyCell.Top + 2
End With
QrCode = ""
End Function
This comment was minimized by the moderator on the site
Wie lösche ich die QR Code Grafik wieder ? wenn ich mit den Skript Wie erstelle ich einen QR-Code basierend auf dem Zellenwert in Excel? einen QR Code erzeugt habe ?
This comment was minimized by the moderator on the site
Hi All,

I modified the VBA code for creation a multi QR codes from selection in excel column

Follow until step 10 then add this code

Sub setQR()

Dim xSRg As Range
Dim xRRg As Range
Dim xObjOLE As OLEObject
On Error Resume Next
Dim srcSelection As Range
Dim srcCell As String
For Each srcSelection In Application.Selection
Dim qrCelltoupdate As String
Dim qrTxt As String
qrCelltoupdate = srcSelection.Offset(0, 1).Address
qrTxt = srcSelection.Text
Worksheets("Sheet1").Range(qrCelltoupdate).Select
Application.ScreenUpdating = False
Set xObjOLE = ActiveSheet.OLEObjects.Add("BARCODE.BarCodeCtrl.1")
xObjOLE.Object.Style = 11
xObjOLE.Object.Value = qrTxt
ActiveSheet.Shapes.Item(xObjOLE.Name).Copy
ActiveSheet.Paste
xObjOLE.Delete
Next srcSelection
'Create Qr code from selection multi cells
End Sub


In step 12
Assign Macro
Chose: Sheet1.setQR

QR codes will be populated in next column

Hope that helps for you all
This comment was minimized by the moderator on the site
Hi ChavdarHarchev.
First of all thank You very much for Your nice work.

Is it possible for You to show how the VBA code looks like when it is finished?
Best regards
Pierre Galuszka.
This comment was minimized by the moderator on the site
Hi All,
I modified the VBA code for creation a multi QR codes from selection in excel column
Follow until step 10 then add this code
Sub setQR()

Dim xSRg As Range
Dim xRRg As Range
Dim xObjOLE As OLEObject
On Error Resume Next
Dim srcSelection As Range
Dim srcCell As String
For Each srcSelection In Application.Selection
Dim qrCelltoupdate As String
Dim qrTxt As String
qrCelltoupdate = srcSelection.Offset(0, 1).Address
qrTxt = srcSelection.Text
Worksheets("Sheet1").Range(qrCelltoupdate).Select
Application.ScreenUpdating = False
Set xObjOLE = ActiveSheet.OLEObjects.Add("BARCODE.BarCodeCtrl.1")
xObjOLE.Object.Style = 11
xObjOLE.Object.Value = qrTxt
ActiveSheet.Shapes.Item(xObjOLE.Name).Copy
ActiveSheet.Paste
xObjOLE.Delete
Next srcSelection
'Create Qr code from selection multi cells
End Sub


In step 12 Assign Macro Chose: Sheet1.setQR
QR codes will be populated in next column
Hope that helps for you all
This comment was minimized by the moderator on the site
I didn't have "Microsoft Barcode Control 16.0" so I down loaded per instruction. And open Excel with Admin mode. Then try to "Register Custom" . But I opened Barcode control folder and select MSBCODE964,OCX. Then there is error message came out. It said "The selected file does not contain self-registrating ActiveX control". What it means? What is the problem. And how can I install that?
This comment was minimized by the moderator on the site
1)Click File > Options.

2)Click Trust Center > Trust Center Settings > ActiveX Settings.

Click the options below, and then click OK.
* Enable all controls without restrictions and without prompting (not recommended)
3)Click Ok
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations