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 / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Selecting after Find Method

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kou Vang - 24 Jan 2006 20:40 GMT
How do I select the entire row of C after I find and select it?  Thanks

   Set C = .Find("Date", LookIn:=xlValues)
       If C Is Nothing Then
           MsgBox "Not Found!"
       Else
       C.Select
Jim Thomlinson - 24 Jan 2006 20:42 GMT
C.Entirerow.Select
Signature

HTH...

Jim Thomlinson

> How do I select the entire row of C after I find and select it?  Thanks
>
[quoted text clipped - 3 lines]
>         Else
>         C.Select
Kou Vang - 24 Jan 2006 20:59 GMT
I swear I tried that!  But thanks again JIM!!!  Once again, Access VBA is
frying my brains!

> C.Entirerow.Select
>
[quoted text clipped - 5 lines]
> >         Else
> >         C.Select
Kou Vang - 24 Jan 2006 21:11 GMT
One more thing, if I wanted to select everything above C, then would I use an
autofill to do this?

> C.Entirerow.Select
>
[quoted text clipped - 5 lines]
> >         Else
> >         C.Select
Jim Thomlinson - 24 Jan 2006 21:30 GMT
Nope you don't need the autofill for that matter you do not need the select.

With ActiveSheet.Range("a1:a50")

   Set C = .Find("Date", LookIn:=xlValues)
       If C Is Nothing Then
           MsgBox "Not Found!"
       Else
       activesheet.Range("A1", C).entirerow.delete

Signature

HTH...

Jim Thomlinson

> One more thing, if I wanted to select everything above C, then would I use an
> autofill to do this?
[quoted text clipped - 8 lines]
> > >         Else
> > >         C.Select
Ian Digby - 25 Jan 2006 08:58 GMT
Kou Vang,

Use

C.EntireRow.Select

Regards
Ian
Signature

Work performed in the spirit of service is worship...Baha''''i Writings

> How do I select the entire row of C after I find and select it?  Thanks
>
[quoted text clipped - 3 lines]
>         Else
>         C.Select
 
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.