what is the code to delete row&column.

  • Thread starter Thread starter areddy
  • Start date Start date
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
+-------------------------------------------------------------------
 
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
 
Back
Top