Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Activate cell in column B after performing Find

I have changed a macro that starts with the execution of a Find. Before
the change, the result of the Find would end up activating a cell in
column J, and then it would proceed........

Now, the result of the Find could result in activating a cell in either
of 3 different columns.

What I want is after the Find, the cell in column B is activated.
Before, this was easy in that I could use the Offset command to move
the cursor X number of cells to the left. Now, I don't know where I
will end up after the Find. So, I don't know how many to move to the
left.
Is there a way to keep it on the same line, but move it to column B ?

Thanks,
Hope everyone had a great holiday
J.O.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 108
Default Activate cell in column B after performing Find


excelnut1954 wrote:

Is there a way to keep it on the same line, but move it to column B ?


Hi excelnut1954

Try

Cells(ActiveCell.Row,"B").Select

Regards

Steve

Thanks,
Hope everyone had a great holiday
J.O.


It ain't a holiday in the UK. :-(

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 175
Default Activate cell in column B after performing Find

EXCELLENT. So simple, yet effective. I appreciate your quick response.
Thanks.
Opps... sorry about the holiday reference. I guess it's my American
"Me" syndrome at work. Being of Welsh descent, I've always favored
those in the UK.
Thanks again,
J.O.

Scoops wrote:
excelnut1954 wrote:

Is there a way to keep it on the same line, but move it to column B ?


Hi excelnut1954

Try

Cells(ActiveCell.Row,"B").Select

Regards

Steve

Thanks,
Hope everyone had a great holiday
J.O.


It ain't a holiday in the UK. :-(


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
Performing Multiple Functions in a Column dhoward via OfficeKB.com Excel Worksheet Functions 2 June 23rd 06 04:25 PM
Performing a multiple column lookup JDay Excel Discussion (Misc queries) 1 December 1st 05 08:34 PM
Find a cell with a special value and activate it Mirja Excel Programming 3 March 14th 05 12:34 PM
Find Cell Value and Activate James Stephens Excel Programming 1 April 27th 04 07:45 PM
How to activate the cell in same row, column 1? Sam Sieger Excel Programming 4 February 15th 04 01:07 AM


All times are GMT +1. The time now is 12:38 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"