Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Selecting rows

If I want to select rows 1 to 15, the syntax is:

rows("1:15").select

What if I want to select rows 1 to i where i is an integer?

Thanks!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Selecting rows

rows("1:" & i).select

tim

"Shatin" wrote in message
...
If I want to select rows 1 to 15, the syntax is:

rows("1:15").select

What if I want to select rows 1 to i where i is an integer?

Thanks!




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 56
Default Selecting rows

Tim,

Many thanks for such a prompt reply!

"Tim Williams" <saxifrax@pacbell*dot*net wrote in message
...
rows("1:" & i).select

tim

"Shatin" wrote in message
...
If I want to select rows 1 to 15, the syntax is:

rows("1:15").select

What if I want to select rows 1 to i where i is an integer?

Thanks!






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
after selecting 50 rows of a column i can't reference the cells in the rows Bob Salzer New Users to Excel 2 July 21st 06 10:29 PM
Selecting Rows Coolboy55 Excel Worksheet Functions 4 August 22nd 05 04:07 PM
Removing Empty Rows and selecting Specific Rows Jetheat[_8_] Excel Programming 7 August 12th 05 12:10 AM
Selecting rows JT[_2_] Excel Programming 1 December 7th 04 11:42 PM
Selecting one every four other rows Juan Eduardo Gorigoitía Excel Programming 1 November 3rd 04 02:07 PM


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