problem with clear up cells (1 Viewer)

associates

Registered User.
Local time
Today, 15:58
Joined
Jan 5, 2006
Messages
94
Hi,

I wonder if i could get some help here.

I was trying to clear up specific cells.

Here is some of my code
Worksheets("sheet1").Activate
Worksheets("sheet1").Range("inputData").Activate

I have defined a cell with a name called "inputData". Then, i used the offset thing. Now, i know that the next row would be 1 according to offset from the "inputData".

So my goal is to be able to clear 7 rows down from the "inputData" and 6 columns from the "inputData". How would i do that?

Thank you in advance
 

shades

Registered User.
Local time
Today, 17:58
Joined
Mar 25, 2002
Messages
516
You could use Resize with Offset
Code:
Range("B2").Offset(1,1).Resize(6,7)
Adjust as needed.
________
Steroid rehab forum
 
Last edited:

Users who are viewing this thread

Top Bottom