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

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



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default Selecting after Find Method

C.Entirerow.Select
--
HTH...

Jim Thomlinson


"Kou Vang" wrote:

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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Selecting after Find Method

I swear I tried that! But thanks again JIM!!! Once again, Access VBA is
frying my brains!

"Jim Thomlinson" wrote:

C.Entirerow.Select
--
HTH...

Jim Thomlinson


"Kou Vang" wrote:

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



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default Selecting after Find Method

One more thing, if I wanted to select everything above C, then would I use an
autofill to do this?

"Jim Thomlinson" wrote:

C.Entirerow.Select
--
HTH...

Jim Thomlinson


"Kou Vang" wrote:

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



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default Selecting after Find Method

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

--
HTH...

Jim Thomlinson


"Kou Vang" wrote:

One more thing, if I wanted to select everything above C, then would I use an
autofill to do this?

"Jim Thomlinson" wrote:

C.Entirerow.Select
--
HTH...

Jim Thomlinson


"Kou Vang" wrote:

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





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Selecting after Find Method

Kou Vang,

Use

C.EntireRow.Select

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


"Kou Vang" wrote:

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



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
date find using find method x taol Excel Programming 2 December 22nd 05 09:51 AM
Selecting a Range using Inputbox Method John Pierce Excel Programming 3 June 4th 05 12:07 PM
Using variables to make a date and using find method to find that. KyWilde Excel Programming 2 April 21st 05 09:43 PM
Method of selecting an area with a macro WildGlio Excel Worksheet Functions 1 March 25th 05 06:55 PM
The Find Method Brad[_7_] Excel Programming 0 July 16th 03 03:23 PM


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