Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 98
Default Select all but header row???

Whats the macro code to select all cells except row 1????
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Select all but header row???

with activesheet
.rows("2:" & .rows.count).select
end with

is one way.

Meltad wrote:

Whats the macro code to select all cells except row 1????


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,311
Default Select all but header row???

One way.
Maybe this:

Range("A2:IV65536").Select


Paul

"Meltad" wrote in message
...
Whats the macro code to select all cells except row 1????



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 272
Default Select all but header row???

Range("A2",Cells(Range("A2").End(xlDown).Row,Range ("A2").End(xlToRight).Column).Select

HTH
--
Charles Chickering

"A good example is twice the value of good advice."


"Meltad" wrote:

Whats the macro code to select all cells except row 1????

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 318
Default Select all but header row???

You have already got so many options. Why not one more?

Sheet1.Cells.Resize(Sheet1.Rows.Count-1).Offset(1).Select


"Meltad" wrote:

Whats the macro code to select all cells except row 1????



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 98
Default Select all but header row???

THANKS ALL!!!


"Dave Peterson" wrote:

with activesheet
.rows("2:" & .rows.count).select
end with

is one way.

Meltad wrote:

Whats the macro code to select all cells except row 1????


--

Dave Peterson

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
How can I select a range of cells for header? emil Excel Programming 2 June 11th 06 10:38 AM
I can't select/edit objects. It says [Group] on the header bar. Tomba Excel Discussion (Misc queries) 2 March 30th 06 12:09 PM
Select max value in a row and pick the column header EK Excel Discussion (Misc queries) 8 July 21st 05 02:10 PM
Select header if formula Krista F Excel Worksheet Functions 11 April 11th 05 07:26 PM
Disabling Row Select from Header n30l1th1c Excel Programming 1 February 11th 05 08:13 PM


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