2 Methods to create QR Codes in Excel
4,550
Published 2023-07-10
đJoin my online course on Excel Tables
www.udemy.com/course/tables-in-excel/?referralCodeâŠ
đDownload my free eBook on Excel Macros
eepurl.com/gpT0RD
đCheck these Books on Excel
xlncad.com/excel-resources/
đRead my articles on Excel
xlncad.com/
đPlaylist for Shorts on Excel
   âąÂ Short videos on Excel Tips & Tricks Â
VBA Code for creating QR Codes.
Sub QRCodeGenerator()
Dim URL As String
Dim QRCode As Object
Dim Location As Range
Range("B3").Select
On Error Resume Next
ActiveSheet.Shapes.Delete
Do Until ActiveCell.Value() = ""
URL = "quickchart.io/qr?text=" & ActiveCell.Value
Set Location = ActiveCell.Offset(0, 1)
Set QRCode = Sheets("VBA").Pictures.Insert(URL)
With QRCode
.Name = "QRCodeVBA"
.Top = Location.Top
.Left = Location.Left
.Height = Location.Height
.Width = Location.Height
End With
ActiveCell.Offset(1, 0).Select
Loop
End Sub
#qrcodeinexcel #exceltip #qrcodegenerator