Excel Vba Clear Contents And Formatting Of Cell With A

[Solved] Excel Vba Clear Contents And Formatting Of Cell With A | Vb - Code Explorer | yomemimo.com
Question : excel vba clear contents and formatting of cell with a single command

Answered by : daniel-ferry

'To clear a worksheet range from VBA, use one of
'the 'Clear' methtods:
[A1].Clear '<-- clears everything in the Range cells
[A1].ClearFormats '<-- clears only the formats
[A1].ClearContents '<-- clears values but not formats
[A1].ClearHyperlinks '<-- clears hyperlinks only
[A1].ClearNotes '<-- clears notes only

Source : http://academy.excelhero.com/ | Last Update : Sat, 09 May 20

Answers related to excel vba clear contents and formatting of cell with a single command

Code Explorer Popular Question For Vb