Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kiran
 
Posts: n/a
Default Macro to delete a row

Hi All
Can any one tell me how to write a macro to delete a row
  #2   Report Post  
Rowan
 
Posts: n/a
Default

A few ways:

Rows(1).Delete
ActiveCell.EntireRow.Delete
Range("A1").EntireRow.Delete

Regards
Rowan

"kiran" wrote:

Hi All
Can any one tell me how to write a macro to delete a row

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
Macro data selection line delete Frantic Excel-er Excel Discussion (Misc queries) 0 May 31st 05 11:46 PM
delete personal macro kalz Excel Discussion (Misc queries) 3 March 22nd 05 03:13 AM
Macro to delete data in 'green' cells only Steve Excel Worksheet Functions 7 March 19th 05 01:40 PM
Cannot delete a macro Jeff B Excel Discussion (Misc queries) 3 February 15th 05 12:43 AM
Macro to delete a macro Spanky Excel Worksheet Functions 1 December 16th 04 02:43 AM


All times are GMT +1. The time now is 12:23 AM.

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

About Us

"It's about Microsoft Excel"