LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Clear all rows except first two

Hi,

I am using Excel 2007. I want to write a VBA Subroutine to delete/clear all
data on a particular worksheet except for the first two rows.

This worksheet can have any number of rows filled with data. Can anyone
give me a hint on how I can select and clear all rows containing data except
for the first two rows?

Thanks in advance,
Paul
--
Paul Kraemer
 
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
How to clear rows before copying data steve1040 Excel Programming 1 April 17th 09 04:58 AM
Clear rows with no data? Kai Cunningham[_2_] Excel Programming 4 July 2nd 07 10:44 PM
How do I clear all cells from all rows except the first row in Sheet1? Michael[_45_] Excel Programming 3 May 17th 07 03:29 PM
Help to clear data & delete rows Eddy Stan Excel Programming 1 March 11th 06 10:29 AM
macro to clear rows Peter H Excel Programming 6 July 23rd 03 08:50 PM


All times are GMT +1. The time now is 03:02 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"