返回列表 上一主題 發帖

[發問] 求救:爲何無法插入QR Code 圖片

看起來自已下載 Barcode 字型應該比較有效 (附件有下載的字型 Libre Barcode 128)

Sub Create_BarCode()
Dim K As Long, I As Long

K = ActiveSheet.Range("C65536").End(xlUp).Row
For I = 2 To K
    Cells(I, 2) = Cells(I, 3)
    Range("B" & I).Select
    With Selection.Font
        .Name = "Libre Barcode 128 Text"
        .Size = 62
        .Strikethrough = False
        .Superscript = False
        .Subscript = False
        .OutlineFont = False
        .Shadow = False
        .Underline = xlUnderlineStyleNone
        .ThemeColor = xlThemeColorLight1
        .TintAndShade = 0
        .ThemeFont = xlThemeFontNone
    End With
    With Selection
        .HorizontalAlignment = xlCenter
        .VerticalAlignment = xlTop
        .WrapText = False
        .Orientation = 0
        .AddIndent = False
        .IndentLevel = 0
        .ShrinkToFit = False
        .ReadingOrder = xlContext
        .MergeCells = False
    End With
Next I
End Sub

000.JPG (100.33 KB)

000.JPG

Barcode file and font.zip (40.31 KB)

TOP

回復 7# 198188

供參考 :)
https://moon-half.info/p/1863

TOP

        靜思自在 : 【是否發揮了良能?】人間壽命因為短暫,才更顯得珍貴。難得來一趟人間,應問是否為人間發揮了自己的良能,而不要一味求長壽。
返回列表 上一主題