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

I need to select at the cells between the active cell and the
count cell in a do loop,
have written as follows:
Sub sort()
Range("A100").Select
Do While ActiveCell = ActiveCell.Offset(-1, 0)
If ActiveCell = ActiveCell.Offset(-1, 0) Then ActiveCell.Offset(1, 6) =
ActiveCell.Offset(1, 6) + 1 And ActiveCell.Offset(-1, 0).Select
Loop
Counter = ActiveCell.Offset(1, 6).Value + 1
Do Until Selection.Offset(Counter, 0) = aaaa
If (Selection.Offset(Counter, 0)) = ActiveCell Then DON'T KNOW WHAT TO WRITE
HERE
With Selection.Offset(Counter, 0)
End With
End If
Counter = Counter + 1
Loop
End Sub

can anyone HELP

Thanks Mark


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
Selecting multiple cells, I can't see the cells highlighted ET Excel Discussion (Misc queries) 1 August 1st 08 03:20 PM
How to change shade of cells when selecting multiple cells abrummet Excel Discussion (Misc queries) 3 September 6th 07 11:42 AM
By selecting cells adjacent to cells tally sheet tom Excel Worksheet Functions 2 September 20th 06 07:09 PM
Selecting Cells BiggyTwo Excel Worksheet Functions 1 May 19th 06 07:54 PM
selecting cells Wazooli Excel Discussion (Misc queries) 3 January 11th 05 09:53 PM


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