dandy
2007-04-14 02:32:01 UTC
於2007excel sheets中以vba新增addtextbox 確無法設定字型及文字對齊:
ActiveSheet.Shapes.AddTextbox(msoTextOrientationVerticalFarEast, 556.5,
100.5 _
, 18#, 49.5).Select
With Selection.Characters(1, 3).Font
.Name = "華康新篆體"
end with
With Selection
'.HorizontalAlignment = xlCenter
.VerticalAlignment = xlTop
.ReadingOrder = xlRTL
end with
ActiveSheet.Shapes.AddTextbox(msoTextOrientationVerticalFarEast, 556.5,
100.5 _
, 18#, 49.5).Select
With Selection.Characters(1, 3).Font
.Name = "華康新篆體"
end with
With Selection
'.HorizontalAlignment = xlCenter
.VerticalAlignment = xlTop
.ReadingOrder = xlRTL
end with