Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
StargateFanFromWork - 23 Feb 2007 18:14 GMT
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.
Bob Phillips - 23 Feb 2007 18:24 GMT
Range("A1:A10").Specialcells(xlCellTypeVisible)

Signature

---
HTH

Bob

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

> Is there something that works on visible, filtered cells like
> "ActiveCell.Offset(1, 0).Select" works on visible, unfiltered ones?
[quoted text clipped - 7 lines]
>
> Thanks.
Dave Peterson - 23 Feb 2007 21:21 GMT
Another way:

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

> Is there something that works on visible, filtered cells like
> "ActiveCell.Offset(1, 0).Select" works on visible, unfiltered ones?
[quoted text clipped - 6 lines]
>
> Thanks.

Signature

Dave Peterson

JB - 23 Feb 2007 21:34 GMT
Sub parcoursItemsVisibles()
  For Each c In Range("A2",
[A65000].End(xlUp)).SpecialCells(xlCellTypeVisible)
     MsgBox c.Value & " " & c.Address
  Next c
End Sub

JB

> Is there something that works on visible, filtered cells like
> "ActiveCell.Offset(1, 0).Select" works on visible, unfiltered ones?
[quoted text clipped - 6 lines]
>
> Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.