| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 410 人关注过本帖
标题:求教各位大神一个加边框的类模块问题!!!
只看楼主 加入收藏
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
快速回复:求教各位大神一个加边框的类模块问题!!!
数据加载中...
 
   



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

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