0
Q:

excelvba clear contents and formatting of cell

'To clear a worksheet range from VBA, use one of
'the 'Clear' methtods:

[A1].Clear           '<-- clears everything in the cells
[A1].ClearFormats    '<-- clears only the formats
[A1].ClearContents   '<-- clears values but not formats
[A1].ClearHyperlinks '<-- clears hyperlinks only
[A1].ClearNotes      '<-- clears notes only
4

New to Communities?

Join the community