dongzhiquan

Excel 2003

LPDISPATCH Borders::GetItem(long Index)方法即为VB中的Borders()属性

 

参数貌似与VB中Borders参数值也相同(没有做一一验证),只VC中不是常量了,需要自己定义

       long Index:

               Const xlDiagonalDown = 5

               Const xlDiagonalUp = 6

               Const xlEdgeBottom = 9

               Const xlEdgeLeft = 7

               Const xlEdgeRight = 10

               Const xlEdgeTop = 8

               Const xlInsideHorizontal = 12

               Const xlInsideVertical = 11

            

分类:

技术点:

相关文章: