Solved

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

Posted on 2013-01-17
2
214 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 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

729 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