ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to clear my content in cells but keep the conditional formatti (https://www.excelbanter.com/excel-programming/425743-how-clear-my-content-cells-but-keep-conditional-formatti.html)

Oligo

how to clear my content in cells but keep the conditional formatti
 
currently i have a 2 macro one that tabulate my output data another that
clear the data table for next tabulation.

how do i write the code for clear contents such that the conditional
formatting of my table remain and the no. of decimal places also remain??

Mike H

how to clear my content in cells but keep the conditional formatti
 
Try

Range("A1:D1").ClearContents

Mike

"Oligo" wrote:

currently i have a 2 macro one that tabulate my output data another that
clear the data table for next tabulation.

how do i write the code for clear contents such that the conditional
formatting of my table remain and the no. of decimal places also remain??



All times are GMT +1. The time now is 06:16 AM.

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