PC Review


Reply
Thread Tools Rate Thread

"ActiveCell.Offset(1, 0).Select" for filtered cells?

 
 
StargateFanFromWork
Guest
Posts: n/a
 
      23rd Feb 2007
Is there something that works on visible, filtered cells like
"ActiveCell.Offset(1, 0).Select" works on visible, unfiltered ones?

What I mean is the have cursor movement happening to what is visible yet
that works when the cells are not filtered?

Here's hoping. I thought everything was working right and tight till I saw
that these types of things aren't working on my filtered sheet? <g>

Thanks.



 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      23rd Feb 2007
Range("A1:A10").Specialcells(xlCellTypeVisible)

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"StargateFanFromWork" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there something that works on visible, filtered cells like
> "ActiveCell.Offset(1, 0).Select" works on visible, unfiltered ones?
>
> What I mean is the have cursor movement happening to what is visible yet
> that works when the cells are not filtered?
>
> Here's hoping. I thought everything was working right and tight till I
> saw
> that these types of things aren't working on my filtered sheet? <g>
>
> Thanks.
>
>
>



 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      23rd Feb 2007
Another way:

do
activecell.offset(1,0).select
if activecell.entirerow.hidden = true then
'keep looking
else
exit do
end if
loop

StargateFanFromWork wrote:
>
> Is there something that works on visible, filtered cells like
> "ActiveCell.Offset(1, 0).Select" works on visible, unfiltered ones?
>
> What I mean is the have cursor movement happening to what is visible yet
> that works when the cells are not filtered?
>
> Here's hoping. I thought everything was working right and tight till I saw
> that these types of things aren't working on my filtered sheet? <g>
>
> Thanks.


--

Dave Peterson
 
Reply With Quote
 
JB
Guest
Posts: n/a
 
      23rd Feb 2007

Sub parcoursItemsVisibles()
For Each c In Range("A2",
[A65000].End(xlUp)).SpecialCells(xlCellTypeVisible)
MsgBox c.Value & " " & c.Address
Next c
End Sub

JB

On 23 fév, 19:14, "StargateFanFromWork" <NoS...@NoJunk.com> wrote:
> Is there something that works on visible, filtered cells like
> "ActiveCell.Offset(1, 0).Select" works on visible, unfiltered ones?
>
> What I mean is the have cursor movement happening to what is visible yet
> that works when the cells are not filtered?
>
> Here's hoping. I thought everything was working right and tight till I saw
> that these types of things aren't working on my filtered sheet? <g>
>
> Thanks.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Whats wrong with this? MyWBAccRep.Sheets("Volumes").Cells.Find("latest").Copy.Offset(0, Simon Microsoft Excel Programming 2 11th Aug 2008 01:29 PM
"Control" plus "click" doesn't allow me to select multiple cells =?Utf-8?B?S2VuIENvb2tl?= Microsoft Excel New Users 0 25th Sep 2006 04:46 PM
ActiveCell.Offset on filtered data =?Utf-8?B?U3RldmVu?= Microsoft Excel Programming 1 9th Jun 2006 02:16 AM
How to Select a relative range with Using "Find" and Offset() =?Utf-8?B?RGVubmlz?= Microsoft Excel Misc 7 27th Jul 2005 03:57 PM
XP VBA: Range("A2", ActiveCell.SpecialCells(xlLastCell)).Select wessman Microsoft Excel Programming 2 23rd Jul 2003 06:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:56 PM.