VBA清除指定的单元格内容
- Public Sub ButtunClick(sender As Object, e As SpreadsheetGear.Windows.Controls.ShapeActionEventArgs) Implements Interfaces.IExcelWorkBook.ButtunClick
- ActiveWorkbook.WorkbookSet.GetLock()
- If e.Shape.Name = "Button 1" Then
- Range("Value_Area").ClearContents()
- End If
- ActiveWorkbook.WorkbookSet.ReleaseLock()
- End Sub '按钮/标签点击事件
复制代码
|
|
hessen