Solved

Clearing data from a cell.......

Posted on 2013-01-17
2
208 Views
Last Modified: 2013-01-17
EE Pros;

Fairly easy question.  I've got a set of cells that have a validation list and conditional formatting based on the selection for data in the cell.  I also have an "erase" macro in order to reset the cells back to where they are clear.  

.ClearContents
.Clear
.ClearFormats

I've used these three statements but they either erase the validation, the conditional formatting or both.  If I use ClearContents, I get the contents cleared but the Conditional Formatting does not reset.

Is there a statement I should be using?

Thank you in advance,

B.
0
Comment
Question by:Bright01
2 Comments
 
LVL 33

Accepted Solution

by:
Norie earned 500 total points
ID: 38787164
Perhaps.
Range("A1").Value = ""

Open in new window

0
 

Author Closing Comment

by:Bright01
ID: 38787228
Quick and consise.  Works perfectly!

B.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now