ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Clear spreadsheet cells format (https://www.excelbanter.com/excel-programming/337789-clear-spreadsheet-cells-format.html)

Souris

Clear spreadsheet cells format
 
I would like to clear all the cells format on the same spreadsheet.
Are there any worksheet function to do this?

Any information is great appreciated,

Norman Jones

Clear spreadsheet cells format
 
Hi Souris,

Try:

Sub Test
Cells.Style = "Normal"
End sub


---
Regards,
Norman



"Souris" wrote in message
...
I would like to clear all the cells format on the same spreadsheet.
Are there any worksheet function to do this?

Any information is great appreciated,




STEVE BELL

Clear spreadsheet cells format
 
Cells.ClearFormats
in code.
--
steveB

Remove "AYN" from email to respond
"Souris" wrote in message
...
I would like to clear all the cells format on the same spreadsheet.
Are there any worksheet function to do this?

Any information is great appreciated,





All times are GMT +1. The time now is 11:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com