LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
hdf hdf is offline
external usenet poster
 
Posts: 30
Default Selecting multiple rows in a named range

I have a single column, 40 row range called NAMES.

I know I can select the first row in the range and place the value "0"
in it using the code below. But how do I select just rows 2-40 and
not the first row?

___________

Sub SelectRows()

Range("NAMES") = Clear
With Range("NAMES")
.Rows(1).Select
.Value = 0

End With

End Sub

_____________

 
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
Selecting Multiple Columns in a Named Selection Griffithpt Excel Worksheet Functions 0 August 9th 06 10:54 PM
Selecting specific row/column from a named range [email protected] Excel Worksheet Functions 2 November 16th 05 09:24 PM
Problem selecting a named range kkknie[_180_] Excel Programming 0 August 11th 04 08:30 PM
Selecting/Printing a Named Range via VBA Diane M Excel Programming 0 April 23rd 04 06:51 PM
Selecting Filtered Items from Named range Soniya Excel Programming 2 August 20th 03 10:59 AM


All times are GMT +1. The time now is 07:34 AM.

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"