View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
bpeltzer bpeltzer is offline
external usenet poster
 
Posts: 180
Default what is the code to delete row&column.

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



"areddy" wrote:


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

please see the attachment.

Regards,
Amar...


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

--
areddy
------------------------------------------------------------------------
areddy's Profile: http://www.excelforum.com/member.php...o&userid=28204
View this thread: http://www.excelforum.com/showthread...hreadid=483393