Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default Move to a specific cell

When my macro meets a certain condition, I create a
variable to identify the row in Col. A that I am in.

currentrow = activecell.row

I then move to A1 and move down through Col A. until I
find a cell that meets additional criteria. At this time,
the macro performs a subroutine. Once the subroutine is
completed, I want to move back to the cell in Col A that I
was in.

I tried the following:

Range(Cells(currentrow,0)).Select

to move back but that is not working for me.

I would appreciate any suggestions to move back to cell I
was in. Thanks for the help...
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
Move cursor to specific cell from a specific cell JSnow Excel Discussion (Misc queries) 4 August 29th 08 07:53 PM
macro - how to move to a specific cell and repeat andrea Excel Worksheet Functions 7 August 19th 08 12:39 AM
How do I move to a specific cell in Excel? JAConnolly Excel Discussion (Misc queries) 9 March 7th 07 01:18 AM
Move text that is a specific color to a different cell Alison84 Excel Worksheet Functions 3 November 15th 06 04:12 PM
Move curser to specific cell when closing Richard Excel Worksheet Functions 1 October 29th 06 12:49 PM


All times are GMT +1. The time now is 03:17 AM.

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"