Solved

Clear cells in range

Posted on 2013-10-25
2
191 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
2 Comments
 
LVL 33

Accepted Solution

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

Open in new window

0
 

Author Closing Comment

by:Frank Freese
Comment Utility
That was too easy - but thanks a lot. I really appreciate it!
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

771 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

11 Experts available now in Live!

Get 1:1 Help Now