zoukankan      html  css  js  c++  java
  • faceID 和 对应图标 查看

    在word或Excel的宏中运行如下函数即可
    Sub ShowFaceIDs()
         Dim NewToolbar As CommandBar
         Dim NewButton As CommandBarButton
         Dim i As Integer, IDStart As Integer, IDStop As Integer
        
     '   Delete existing FaceIds toolbar if it exists
         On Error Resume Next
         Application.CommandBars("FaceIds").Delete
         On Error GoTo 0
        
     '   Add an empty toolbar
         Set NewToolbar = Application.CommandBars.Add _
             (Name:="FaceIds", temporary:=True)
         NewToolbar.Visible = True
        
     '   Change the following values to see different FaceIDs
         IDStart = 1
         IDStop = 1200
        
         For i = IDStart To IDStop
             Set NewButton = NewToolbar.Controls.Add _
                 (Type:=msoControlButton)
             NewButton.FaceId = i
             NewButton.Caption = "FaceID = " & i
         Next i
         NewToolbar.Width = 1000
     End Sub

  • 相关阅读:
    HDNOIP201404最短路径
    BJOI2015 Day3
    BJOI2015 Day2
    BJOI2015 Day1
    BZOJ4012 [HNOI2015]开店
    hdu2159(二维完全背包)
    hdu3496(二维背包)
    hdu3033(变形分组背包)
    hdu1267(递推)
    hdu1503(最长公共子序列)
  • 原文地址:https://www.cnblogs.com/pnljs/p/2598884.html
Copyright © 2011-2022 走看看