PC Review


Reply
Thread Tools Rate Thread

After running Find, need to goto column A of that row

 
 
excelnut1954
Guest
Posts: n/a
 
      22nd Jan 2007
I have a macro that runs Find, but I've added a wrinkle to it. It will
locate a cell. What I need is the proper code to move to Column A of
that line. I can't just move X number of cells to the left, because I
don't know which column the Find will land me in.
Something in the order of......... Go to column A of the same line.

Thanks,
J.O.

 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      22nd Jan 2007
You didn't post your code but
cells(activecell.row,1)
or
columns(1)

Sub findx()
x = Cells.Find("x").Row
Cells(x, 1).Select
End Sub
--
Don Guillett
SalesAid Software
(E-Mail Removed)
"excelnut1954" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a macro that runs Find, but I've added a wrinkle to it. It will
> locate a cell. What I need is the proper code to move to Column A of
> that line. I can't just move X number of cells to the left, because I
> don't know which column the Find will land me in.
> Something in the order of......... Go to column A of the same line.
>
> Thanks,
> J.O.
>



 
Reply With Quote
 
excelnut1954
Guest
Posts: n/a
 
      22nd Jan 2007
Excellent. Thanks for the help.
J.O.
Don Guillett wrote:
> You didn't post your code but
> cells(activecell.row,1)
> or
> columns(1)
>
> Sub findx()
> x = Cells.Find("x").Row
> Cells(x, 1).Select
> End Sub
> --
> Don Guillett
> SalesAid Software
> (E-Mail Removed)
> "excelnut1954" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >I have a macro that runs Find, but I've added a wrinkle to it. It will
> > locate a cell. What I need is the proper code to move to Column A of
> > that line. I can't just move X number of cells to the left, because I
> > don't know which column the Find will land me in.
> > Something in the order of......... Go to column A of the same line.
> >
> > Thanks,
> > J.O.
> >


 
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
Go to goto - FIND Teddy-B Microsoft Excel Misc 1 15th Oct 2009 05:46 PM
How do I goto column B in the current row using VBA? LilacSpokane Microsoft Excel Programming 2 11th Mar 2008 09:37 PM
How to goto the next available cell in a column. pmaths@gmail.com Microsoft Excel Programming 1 26th Oct 2006 05:15 PM
Goto column A of the ActiveCell ADK Microsoft Excel Programming 3 8th Sep 2006 04:27 PM
If one column is full, goto the next column Biff Microsoft Excel Programming 6 8th Mar 2006 03:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:24 AM.