- ©«¤l
- 16
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 66
- ÂI¦W
- 40
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- excel
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2016-8-24
- ³Ì«áµn¿ý
- 2025-7-8
|
¬Ý°_¨Ó¦Û¤w¤U¸ü Barcode ¦r«¬À³¸Ó¤ñ¸û¦³®Ä (ªþ¥ó¦³¤U¸üªº¦r«¬ 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 |
|