高手们帮我看看这个VB小程序,这个程序哪里错了?

306关注2642浏览

'If Appppt.ActiveDocument.Shapes(1).Type = 15 Then ' 不是艺术字,就不进来操作
'Set Appppt = Wrd.ActiveDocument.Shapes(1)
'If Appppt.TextEffect.FontName = "黑体" Then ' 字体
'asp = asp + 0.5

共2条回答
  • 周文轩
    7年前

    'Set Appppt = Wrd.ActiveDocument.Shapes(1

    0 2

  • Brayden
    7年前

    If Appppt.ActiveDocument.Shapes(1).Type = 15 Then ' 不是艺术字,就不进来操作
    Set Appppt = Wrd.ActiveDocument.Shapes(1)
    If Appppt.TextEffect.FontName = "黑体" Then ' 字体
    asp = asp + 0.5

    0 2

发送