Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Going through each item in a sheet


Oh okk

Mangesh, the spereadsheet im working with have a few sheets in it...Ho
to tell that particular code to count the items in the "results" sheet

--
ajitpalsingh20
-----------------------------------------------------------------------
ajitpalsingh200's Profile: http://www.excelforum.com/member.php...fo&userid=1615
View this thread: http://www.excelforum.com/showthread.php?threadid=27586

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Going through each item in a sheet


Worksheets("Result").Range("A1").Select

For i = 1 To Range(Selection, Selection.End(xlDown)).Count
MsgBox Cells(i, 1)
Next

this should work

or Simply

Worksheets("Result").Select

Range("A1").Select
For i = 1 To Range(Selection, Selection.End(xlDown)).Count
MsgBox Cells(i, 1)
Next


- Manges

--
mangesh_yada
-----------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...fo&userid=1047
View this thread: http://www.excelforum.com/showthread.php?threadid=27586

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
Max Date and Item - How to get in one sheet ? [email protected] Excel Worksheet Functions 5 April 21st 05 05:45 PM
Going through each item in a sheet ajitpalsingh200[_8_] Excel Programming 2 November 6th 04 01:47 PM
Going through each item in a sheet ajitpalsingh200[_11_] Excel Programming 1 November 6th 04 09:40 AM
Going through each item in a sheet ajitpalsingh200[_10_] Excel Programming 0 November 6th 04 09:39 AM
Going through each item in a sheet ajitpalsingh200[_9_] Excel Programming 1 November 6th 04 09:37 AM


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