ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Macro to delete un used styles in a workbook! (https://www.excelbanter.com/excel-programming/321699-macro-delete-un-used-styles-workbook.html)

john

Macro to delete un used styles in a workbook!
 
Thanks. Any ideas


John

nippetee

Macro to delete un used styles in a workbook!
 
Try this:

ActiveWorkbook.Styles("stylename").Delete

this should do it...

"John" wrote:

Thanks. Any ideas


John



All times are GMT +1. The time now is 11:47 PM.

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