Solved

Clear cells in range

Posted on 2013-10-25
2
225 Views
Last Modified: 2013-10-25
Folks,
What I am wanting to do is for the range D7:E15 is clear the contents and formatting. Below did not work:
Dim lRowLoop As Long
For lRowLoop = 7 To 15
    Range(lRowLoop).Interior.Color = vbWhite
Next

Open in new window

0
Comment
Question by:Frank Freese
[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 33

Accepted Solution

by:
Norie earned 500 total points
ID: 39600832
Try this.
Range("D7:E15").Clear

Open in new window

0
 

Author Closing Comment

by:Frank Freese
ID: 39600913
That was too easy - but thanks a lot. I really appreciate it!
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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

733 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