标题:求教各位大神一个加边框的类模块问题!!!
取消只看楼主
lcooket
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2015-8-10
 问题点数:0 回复次数:1 
求教各位大神一个加边框的类模块问题!!!
我在EXCEL做了一个加边框的类模块,如下:
Sub KKF(rr As Range)                              '加边框
    rr.Select
    Selection.Borders(xlDiagonalDown).LineStyle = xlNone
    Selection.Borders(xlDiagonalUp).LineStyle = xlNone
    With Selection.Borders(xlEdgeLeft)
        .LineStyle = xlContinuous
        .ColorIndex = 0
        .TintAndShade = 0
        .Weight = xlThin
    End With
    With Selection.Borders(xlEdgeTop)
        .LineStyle = xlContinuous
        .ColorIndex = 0
        .TintAndShade = 0
        .Weight = xlThin
    End With
    With Selection.Borders(xlEdgeBottom)
        .LineStyle = xlContinuous
        .ColorIndex = 0
        .TintAndShade = 0
        .Weight = xlThin
    End With
    With Selection.Borders(xlEdgeRight)
        .LineStyle = xlContinuous
        .ColorIndex = 0
        .TintAndShade = 0
        .Weight = xlThin
    End With
    With Selection.Borders(xlInsideVertical)
        .LineStyle = xlContinuous
        .ColorIndex = 0
        .TintAndShade = 0
        .Weight = xlThin
    End With
    With Selection.Borders(xlInsideHorizontal)
        .LineStyle = xlContinuous
        .ColorIndex = 0
        .TintAndShade = 0
        .Weight = xlThin
    End With
End Sub
请问放进VB6要做什么修改呢,请教了!!!
搜索更多相关主题的帖子: EXCEL 
2015-08-10 10:44
lcooket
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2015-8-10
得分:0 
坐沙发
2015-08-10 10:50



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-456259-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.200878 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved