Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-01-17
2
Medium Priority
?
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 34

Accepted Solution

by:
Norie earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

721 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