PC Review


Reply
Thread Tools Rate Thread

Deleting range

 
 
=?Utf-8?B?T3JsYW5kbw==?=
Guest
Posts: n/a
 
      7th Sep 2007
I been having some trouble to delete an are in another worksheet, look simple
but I keep having an error, I did this:

Private Sub CommandButton2_Click()

Worksheets("Download").Range("A2:d200").Clear

End Sub
I also want to move the columns 1,2 and 3 to "Donwloads" starting in the row
2 that is previouslly clear to the columns 1, 4 and 5.

thanks a lot.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?T3NzaWVNYWM=?=
Guest
Posts: n/a
 
      7th Sep 2007
Hi Orlando,

Don't know the answer to your first problem. However, make sure that all
your spelling is correct. You have "Download" and "Donwloads" in your post.

The second problem: Could it be that you are trying to copy an entire column
and paste it in from row 2 because if so, it will not fit. You have one more
row than the number that will fit from row 2 to the bottom of the worksheet.

Regards,

OssieMac


"Orlando" wrote:

> I been having some trouble to delete an are in another worksheet, look simple
> but I keep having an error, I did this:
>
> Private Sub CommandButton2_Click()
>
> Worksheets("Download").Range("A2:d200").Clear
>
> End Sub
> I also want to move the columns 1,2 and 3 to "Donwloads" starting in the row
> 2 that is previouslly clear to the columns 1, 4 and 5.
>
> thanks a lot.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Deleting a range Don Guillett Microsoft Excel Programming 1 9th Jan 2007 05:42 PM
Re: Deleting a range PCLIVE Microsoft Excel Programming 0 9th Jan 2007 04:47 PM
Deleting Range name's listed in the range address box. Satnam Patel Microsoft Excel Misc 4 5th May 2005 01:42 PM
Deleting Range using VB sjbeeny Microsoft Excel Programming 5 29th May 2004 12:14 PM
Range Name deleting Chiller Microsoft Excel Misc 2 24th Aug 2003 10:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:24 PM.