Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default what is the code to delete row&column.


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
+-------------------------------------------------------------------

--
aredd
-----------------------------------------------------------------------
areddy's Profile: http://www.excelforum.com/member.php...fo&userid=2820
View this thread: http://www.excelforum.com/showthread.php?threadid=48339

  #2   Report Post  
Posted to microsoft.public.excel.programming
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy column header to next column, delete & delete every nth colum genehunter New Users to Excel 1 June 2nd 09 03:57 PM
How do I delete the +four didgets from a Zip Code Column? RI Foodie Excel Worksheet Functions 4 February 6th 08 04:12 AM
Code help, delete rows based on column criteria Stout Excel Discussion (Misc queries) 2 March 20th 07 01:17 PM
Code to delete rows and column cells that have formulas in. GarToms Excel Worksheet Functions 1 January 18th 06 01:04 PM
VBA code delete code but ask for password and unlock VBA protection WashoeJeff Excel Programming 0 January 27th 04 07:07 AM


All times are GMT +1. The time now is 12:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"