what is the code to delete row&column.

A

areddy

Hi All,
I want to delete first row and column. When I open the excel iam havin
blank row and column.

please see the attachment.

Regards,
Amar..

+-------------------------------------------------------------------
|Filename: Delete Row&Column.doc
|Download: http://www.excelforum.com/attachment.php?postid=4016
+-------------------------------------------------------------------
 
G

Guest

You can record deleting the first row and column and then open the VB editor
to see the code:
Rows("1:1").Select
Selection.Delete Shift:=xlUp
Columns("A:A").Select
Selection.Delete Shift:=xlToLeft
Range("A1").Select
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top