LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Please help

Hey everyone,

Im trying to loop through a column of values and if they equal to a certain
value, print the list of relevant values on a different sheet.

e.g. somthing along these lines

Dim number

Sheets("Info").Select
number = Range("B2").Select

Range("A2").Select

Do Until IsEmpty(ActiveCell)

If (ActiveCell = number) Then

Selection.Offset(0, 2).Copy

!-- then i want to copy in a different sheet this value and move to the next
value, then copy the next value into the other sheet and so on --!

End If

Loop


 
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



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