Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default how to move the pointer in a filtered selection

I got a problem, I get a filtered selection in a worksheet, next move is to
move the pointer in a filtered selection down until it is found a certain
cell empty. That cell is seven columns at right from the active cell
selection.

The filtered seklection has some noncontiguos registers in the DB that is
being modified.

I need to do this in a cycle until it is finished the revision of a certain
list of lots in another DB.

Alvaro Silva



  #2   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 399
Default how to move the pointer in a filtered selection

I set a range to the whole section, apply filters, then reset the range to
the visible cells. This now gives you the freedom to move to (row, column)
within just the filtered range. Something like:
Dim rng As Range
Set rng = Selection 'replace Selection with your range parameters
' Insert filtering here
Set rng = Intersect(rng, rng.SpecialCells(xlCellTypeVisible))
rng.Copy

HTH
Ed

"Alvaro Silva" wrote in message
...
I got a problem, I get a filtered selection in a worksheet, next move is

to
move the pointer in a filtered selection down until it is found a certain
cell empty. That cell is seven columns at right from the active cell
selection.

The filtered seklection has some noncontiguos registers in the DB that is
being modified.

I need to do this in a cycle until it is finished the revision of a

certain
list of lots in another DB.

Alvaro Silva





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default how to move the pointer in a filtered selection

Thanks! Very helpful. Tooks me away from a bog


"Ed" escribió en el mensaje
...
I set a range to the whole section, apply filters, then reset the range to
the visible cells. This now gives you the freedom to move to (row,
column)
within just the filtered range. Something like:
Dim rng As Range
Set rng = Selection 'replace Selection with your range parameters
' Insert filtering here
Set rng = Intersect(rng, rng.SpecialCells(xlCellTypeVisible))
rng.Copy

HTH
Ed

"Alvaro Silva" wrote in message
...
I got a problem, I get a filtered selection in a worksheet, next move is

to
move the pointer in a filtered selection down until it is found a certain
cell empty. That cell is seven columns at right from the active cell
selection.

The filtered seklection has some noncontiguos registers in the DB that is
being modified.

I need to do this in a cycle until it is finished the revision of a

certain
list of lots in another DB.

Alvaro Silva







  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default how to move the pointer in a filtered selection

Well not that good, when run a second attempt that involves a separated area
of the DB, the poniter keeps moving down into the non visible range
regardless of the instruction to show only the visible cells.
That´s annoying because if we do have a noncontiguos area in the DB filtered
in the next attempt to modify we will end modifying registers not intended
to get modifications.

Any idea about what to do?

Alvaro Silva

"Alvaro Silva" escribió en el mensaje
...
Thanks! Very helpful. Tooks me away from a bog


"Ed" escribió en el mensaje
...
I set a range to the whole section, apply filters, then reset the range to
the visible cells. This now gives you the freedom to move to (row,
column)
within just the filtered range. Something like:
Dim rng As Range
Set rng = Selection 'replace Selection with your range parameters
' Insert filtering here
Set rng = Intersect(rng, rng.SpecialCells(xlCellTypeVisible))
rng.Copy

HTH
Ed

"Alvaro Silva" wrote in message
...
I got a problem, I get a filtered selection in a worksheet, next move is

to
move the pointer in a filtered selection down until it is found a
certain
cell empty. That cell is seven columns at right from the active cell
selection.

The filtered seklection has some noncontiguos registers in the DB that
is
being modified.

I need to do this in a cycle until it is finished the revision of a

certain
list of lots in another DB.

Alvaro Silva









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
Where is the graphics selection pointer in excel 2007? Bruce Excel Discussion (Misc queries) 2 March 26th 10 08:27 AM
MOVE POINTER WON'T APPEAR ANYMORE TAMMY Excel Discussion (Misc queries) 2 March 26th 09 02:26 PM
how do I use the arrow keys to move the cell pointer? I have excel Move the cell pointer using arrow keys Excel Discussion (Misc queries) 1 August 20th 08 07:07 PM
Sum only filtered selection pkunAAC Excel Discussion (Misc queries) 3 July 13th 05 04:45 PM
How to move to the next filtered row/col in VBA? SuperJas Excel Programming 3 December 11th 03 05:33 AM


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