首页 /编程语言和算法/VB6/VBA/ASP
 VBA代码 从剪贴板取出文本
2025年3月18日 14:47
Private Function GetCB()    '从剪贴板获取数据
    With CreateObject("Forms.TextBox.1")
        .MultiLine = True
        If .CanPaste = True Then .Paste
        GetCB = .Text
    End With
End Function



 
全部回复(0)
首页 | 电脑版 |