黄色部分如何写代码?
Dim Bar As New BarCodeBuilder
Bar.Symbology = Barpro.Symbology.QRCode
Bar.QRCodeModuleSize = 2 '二维码的放大倍数
Bar.Code = "方案_" & fang("_Id") & "_" & fang("计划日期") '表名,id,其他
'.Cells(1,3).Image = bar.GetImage 'GetImage(mg) '二维码
With .Cell(1,3)
.Range.Delete
Dim pic = .Range.InlineShapes.AddPicture(bar.GetImage)
pic.Width = 50 '图片宽
pic.Height = 50 '图片高
End With