lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
to clear all cells I can write this code
I used object browser and found that cells is a property of 3 objects
Application.Cells
Range.Cells
WorkSheet.Cells
So my question, which one I am using when I say Cells. Clear?
Thank you
to clear all cells I can write this code
Code:
Sub clearall()
Cells.Clear
End Sub
I used object browser and found that cells is a property of 3 objects
Application.Cells
Range.Cells
WorkSheet.Cells
So my question, which one I am using when I say Cells. Clear?
Thank you