Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to find speicial cell using macro


I just start using macro, and I have a simple question.

I have sorted number from 1 to 200, how can I use macro to get th
cells with the value from 120 to 125?

Thanks a lot

--
blessw
-----------------------------------------------------------------------
blesswo's Profile: http://www.excelforum.com/member.php...fo&userid=1490
View this thread: http://www.excelforum.com/showthread.php?threadid=26535

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default How to find speicial cell using macro

I don't know what you mean by "get" but if you know where the first cell is
and that the numbers go down from 1 to 200 with no gaps then number 121
would be at Offset(120) from the first cell.

Range("FirstCell").Offset(120).Select

--
Jim Rech
Excel MVP

"blesswo" wrote in message
...
|
| I just start using macro, and I have a simple question.
|
| I have sorted number from 1 to 200, how can I use macro to get the
| cells with the value from 120 to 125?
|
| Thanks a lot.
|
|
| --
| blesswo
| ------------------------------------------------------------------------
| blesswo's Profile:
http://www.excelforum.com/member.php...o&userid=14907
| View this thread: http://www.excelforum.com/showthread...hreadid=265358
|


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 to find and replace using cell references edeaston Excel Discussion (Misc queries) 1 December 22nd 08 03:29 PM
Change Macro to Find First Empty Cell Jenny B. Excel Discussion (Misc queries) 3 January 10th 08 03:25 AM
macro to find the last blank cell in col. A peyman Excel Discussion (Misc queries) 16 September 17th 07 11:10 PM
Macro to find blank cell Cutter[_9_] Excel Programming 2 July 6th 04 03:44 PM
macro to find out the last cell in a range vikram Excel Programming 1 April 30th 04 06:53 AM


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